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)

Does running a Realtime workflow before a field is updated results in a single service call or two service calls by the CRM platform

(0) ShareShare
ReportReport
Posted on by 228

Hi There, i'm updating a field on the same entity where the real time / synchronous workflow is registered to run. If i choose - starting the workflow before the record fields change, does this result in the saving a service call (update) to the server, where i'm doing an update operation in the workflow step. in other words, will the record be updated twice or once as i'm comparing to that of a pre-operation plug-in.

2017_2D00_07_2D00_19_5F00_1254.png

*This post is locked for comments

I have the same question (0)
  • ashlega Profile Picture
    34,477 on at

    Hi,

     I think that particular "before" only works for "delete" operation. You can't do "before" an update as far as I know, at least not with the workflows (you can use "before" with a plugin, though, but that's a different question)

  • Raghu_b Profile Picture
    228 on at

    Hi Alex, thank you for your reply, before option is available for the Update operation as well. screen shot attached.

    4130.2017_2D00_07_2D00_19_5F00_1254.png

  • Verified answer
    ashlega Profile Picture
    34,477 on at

    You are right.. And it's only for real-time workflows, it seems..

    I checked in the audit log quickly. There are two update operations in this scenario. They happen at the same time (and CRM tends to mix up the order in such cases), but, from what I can see, "update record" step in the workflow is submitted to the database first (which would be expected, so it's probably how it is).

    0160.Capture1.PNG

    That update on the screenshot is happening in the workflow:

    0160.Capture1.PNG

  • Raghu_b Profile Picture
    228 on at

    thanks Alex.

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