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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow to update a field on a different entity

(0) ShareShare
ReportReport
Posted on by

Hello,

I am trying to create a workflow which basically updates the conatct entity once the contacts name has been selected on another entity through a lookup field.

Example:

I have a custom entity called Vehicle, when filling in the vehicle form the user will use a lookup and select a contact record.

I have a field called 'vehicle check' on the contact form, what I would like the workflow to do is whenever the contact name is selected using the lookup field on the Vehicle form I want the 'vehicle check' field on the contact form to automatically change to 'Done'.

The way I have set the workflow up so far although it does not work is with the vehicle entity being the primary one which i have selected on the first page when creating the workflow then my condition is:

if the Vehicle (Contact):Full Name contains data, then (this line is referencing the Vehicle entity)

Update:  Main (Contact) (I have ticked the 'Done' option against the vehicle check field) This line is referencing the contact entity)

I am new to workflows so any direction you could give would be appreciated.

Thank you

JazB

Click to expand or collapse this step.

:

JazB

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Karuna Karan Profile Picture
    1,212 on at

    Make sure the WF run conditions are (On create, On field change (Contact). Then run the WF in realtime not background, so that you can get immediate results.

    Use form assistant to update the contact entity rather than selecting the option (Done) in contact entity.

  • Wahab Abbasi Profile Picture
    145 on at

    You can also use a Plugin or a Custom workflow...

  • Verified answer
    TheMarkChristie Profile Picture
    10,328 Moderator on at

    Hi Jaz

    I would have a trigger on change of the contact field on the vehicle or in creation that runs an update on the related contact. I would stay away from coding this

  • Verified answer
    Abed Haniyah Profile Picture
    4,287 on at

    Also crate a workflow and trigger it on change ( Before Update) to clear "vehicle check" if the user associate a Contact  with a Vehicle by mistake :)

  • Community Member Profile Picture
    on at

    Thanks for all your 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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans