Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Real-time workflow for Entity with BPF does not pick up the currently selected process stage

$
0
0

I have an entity with BPF and a real-time workflow configured for it in a D365 Version 1612 (8.2.1.207) (DB 8.2.1.207) environment. The workflow is triggered after the entity record is created, and also when the Stage Id (process stage) is updated. 

What I am trying to do is to update a field in the entity with the name of the currently selected stage. What happens though is that the real-time workflow picks up the previously selected stage.

Since there are no System Jobs for real-time workflow, I made quick test with a real-time workflow that sends some values of the entity and processed stage to my email. As you can see, the currently active or selected stage is set to Pending Booking, but the stage that was evaluated by the workflow is the stage before it (Discuss Availability). 

Just my thoughts, I may be mistaken, but what I can only derive from this is that the stage ID was updated (triggering the workflow) but not yet persisted, which may be the reason why the real-time workflow is still picking up the previous stage ID? 

Is this an issue with D365, or is there some configuration that needs to be done with regards to making real-time workflows work with entities that have BPF?

Will appreciate any feedback. Thanks!


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>