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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

onchange trigger on CRM workflows

(0) ShareShare
ReportReport
Posted on by 1,577

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

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    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

  • Seamus Profile Picture
    1,577 on at

    Thanks so much for your helpful response Frank.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 93

#2
Subra Profile Picture

Subra 90

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 72 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans