Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Real time workflows, child workflows and actions

(0) ShareShare
ReportReport
Posted on by

Hi All,

I've got an interesting symptom where I have a real time workflow which calls another RT child workflow, which updates a record, and the parent step immediately after the return from the child workflow tests and fails to see the update. In fact this challenges my understanding of RT workflows so much I can hardly believe I haven't made some obscure mistake.

The update is however displayed via the UI, obviously after a delay many orders of magnitude greater than the time it takes to start executing that next step test in the parent workflow....??

Both workflows have the same record as their context - the child is really just a "subroutine" with some common "code" in it - perfect situation to use an Action really, but a child workflow requires less fiddling.

In order to resolve the problem quickly I intended to re-enter the child steps in the main workflow to avoid the workflow failure this symptom causes (they do work there), but was deterred by the tedium of retyping all the steps a number of times over - there are two or more other places needing this set of steps.

So I retyped the child workflow as an Action (first time ever actually, have never found a need), and guess what, the Action does exactly the same, it updates the record but the calling workflow does not see the result, which does subsequently appear in the UI as expected. In this test I passed the record as an entity reference input, but tested using the calling workflow record context after the Action executed.

Finally to cover all bases, I then created an output entity reference in the Action, and compared results in the calling workflow after the Action had executed, and now the calling workflow can see the changes....not in the calling workflow record context, but in the output reference record.

Is this a bug or a misunderstanding on my part? Anyone care to comment?

Cheers,

Mike

*This post is locked for comments

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans