Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

workflow to update only the most recent opportunity

(0) ShareShare
ReportReport
Posted on by 460

Hi,

I am investigating creating a workflow to automatically update a field on the most recent opportunity based on a field value in the Contact.

The problem I have is that a lot of our Contacts would have multiple open opportunities. How can I create a workflow that will only update the most recent opportunity?

Thanks

Ted

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: workflow to update only the most recent opportunity

    Hello,

    If my reply (or replies) answers your question take a minute and verify the answer. You can do it by clicking "Yes" at the top of the reply (or replies) under the label "Does this answer your question?"

  • Ram Prakash Profile Picture
    Ram Prakash 2,285 on at
    RE: workflow to update only the most recent opportunity

    Hi,

    Create a Custom Action and call that custom Action from Microsoft flow or

    Create a Console Application that calls CRM System --> use Fetchxml or Queryexpression to take only last modified record(modified on desecending) for each contact's Opportunity and perform your operation

    Please mark as Answer if it is helpful and provide Kudos

    Subscribe : www.youtube.com/.../UCnGNN3hdlKBOr6PXotskNLA

    Blog : microsoftcrmtechie.blogspot.com

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,959 Super User 2024 Season 1 on at
    RE: workflow to update only the most recent opportunity

    Hi,

    Use list rows action in power automate to fetch recent updated opportunity.

    docs.microsoft.com/.../list-rows

    You can order by modified on and pick first record.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: workflow to update only the most recent opportunity

    Hello Ted,

    The issue with workflow - you can't do it easilly.

    You will have to either create a custom logic - either plugin or custom workflow activity or use Power Automate - that could be performed in a no-code manner.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans