Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

onchange trigger on CRM workflows

Posted on by 1,575

Hello, 

On CRM workflows, if a workflow is set to trigger "when record fields change" and the field selected is a lookup field (the example being the parentcontactid of a lead) will the trigger occur when the parentcontact id is FIRST CREATED/instantiated (i.e. the first time the link between lead and contact is made) or will it only ever occur if a SUBSEQUENT change is made (eg a different parent contact is specified for the lead)?

I hope this makes sense. Many thanks for your help. 

- Seamus

  • Seamus Profile Picture
    Seamus 1,575 on at
    RE: onchange trigger on CRM workflows

    Thanks so much for your helpful response Frank.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: onchange trigger on CRM workflows

    Hi,

    After testing, if you use the `record fields change` trigger, it will not be triggered when the record is created for the first time. It will only be triggered when the record is changed.

    If the record has been created, but the associated field is not initialized, this will also be triggered when you assign the associated field for the first time.

    For example:

    1. The parentcontactid is initialized when the lead is first created, and the workflow will not be triggered.

    2. The lead has been created, and the first time the parentcontactid is initialized, the workflow will be triggered.

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Frank Gong

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans