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

Business Process Flow - Workflow on stage exit - only run when progressing forward

$
0
0

Hi All

I have a series of workflows that trigger on stage exit, all running well.

I want to prevent them from running though if the BPF stage is moving backward, ie, the user has activated a previous stage or pressed "Previous" from the BPF navigation.

I have thought about an integer field in the record and then calling a plugin/realtime workflow that updates this field on every change of stage. then the target workflow will check this stage num at the start of the process and exit out early if stage num in the record is >= x (x being the predetermined stage for the workflow in the process)

This will be some work not only to implement but to maintain as its not dynamic and will require updates to the workflows if the BPF changes at all (new stages introduced etc)

Is there a better or cleaner way to fix this issue?

Regards

Nick


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images