web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow instruction to find the latest occurrence

(0) ShareShare
ReportReport
Posted on by

Hello:

I need to write a workflow that looks at Contracts; when we renew a contract, the status changes but the contract number remains.  I need to write a workflow that only sends the status of the latest contract to the related account.

Any help is greatly appreciated!

*This post is locked for comments

I have the same question (0)
  • Aileen Gusni Profile Picture
    44,524 on at
    RE: Workflow instruction to find the latest occurrence

    Hi,

    Try to register your workflow in entity Contract with trigger: on change status then update the field in entity account based on the contract. I am not sure, but I assume you have firld in Account to store the latest contract, isnt it?

  • Royal King Profile Picture
    27,686 on at
    RE: Workflow instruction to find the latest occurrence

    It depends on how many contracts you have under the same account . If you have mulitple contracts related to an account then you need to decide which contract info you want to push it to account.  As  AILEEN GUSNI said write workflow on the status change of the contract and based on requirement you should be able to update parent account with latest information

  • Royal King Profile Picture
    27,686 on at
    RE: Workflow instruction to find the latest occurrence

    Actually you can write workflow on create and look for the field value OriginatingContract if this field is not null that means its a renewal contract and you can push detaisl from this contract to account

  • rmcanally65 Profile Picture
    on at
    RE: Workflow instruction to find the latest occurrence

    Aileen:

    Yes, I have a field in Account that is populated with the status of the current contract.

  • rmcanally65 Profile Picture
    on at
    RE: Workflow instruction to find the latest occurrence

    Chitrarasan:

    I will try this tonight and let everyone know; thanks to you & Aileen for the helpful responses!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans