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 CRM (Archived)

Are workflow steps really synchronous?

(0) ShareShare
ReportReport
Posted on by 4

Hi,

I was not able to find an accepted answer to a question if workflow steps are executed asynchronously. There are a couple of threads in which people have commented differently.

If I have a custom step which calls a wcf service SYNCHRONOUSLY and wcf service also does everything synchronously, can I be sure that the step after my custom activity will always be able to see every record created by a service?

Some answers suggest putting a timeout of 1 minute, but it just doesn't feel right and bulletproof.

For me it is logical since a custom step can return a value for the next step to use, but I can't find it documented and verified.

Thanks in advance

*This post is locked for comments

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Yes. Every next step in workflow is executed after previous one is completed.

  • Žarko Radevic Profile Picture
    4 on at

    Thanks Andrii for the answer. You should maybe edit your answer regarding the similar question here, it may be misunderstood.

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Question was regarding CRM 2011. CRM 2011 has only async workflows that means that in general all steps are executed asynchronously. But if you look on steps just inside workflow - steps are executed sequently inside the context of workflow instance. I believe that caused misunderstanding.

  • Žarko Radevic Profile Picture
    4 on at

    Yes, and this question is about CRM 2011 also, but I think same applies for other versions (has nothing to do with new feature of synchronous workflows). Workflow as a whole is executed asynchronously, but steps inside it sequentially.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans