Hi All,
i have a workflow triggering on change of date time field . the workflow waits for reach of date ,then further process is done.
lets say for the first trigger process session is created and waiting for reach of date .and if before date is arrived if the user again changes date ,workflow is again triggered and another process session is created .
now i have two process sessions waiting .
i want only one to be waiting at once .how can i manage this .
Thanks,
Mohammed Waseem.
*This post is locked for comments
Could you please elaborate this answer
Hi
Could you please elaborate the answer for this question?
Hi Waseem,
Try this if it works for you:
1. Trigger your workflow on Change of date field.
2. And save this new change date value in another date field (may be you can keep it hidden)
3. Add parallel wait condition based on Hidden date not equals your date field value and Close this workflow with Status Cancelled(as another instance of the workflow will now be running)
This will ensure only 1 instance of the workflow is running per record.
Hello,
As a possible workaround you can develop custom workflow activity that will check and cancel all other instances of workflow triggered for your record - a33ik.blogspot.com/.../howto-avoid-simultaneous-execution-of-2.html
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156