Wait for Condition in flow designer for multiple tasks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Team,
I created a new flow designer and added the "Do the following in Parallel" to create 3 catalog tasks.
Now my requirement is to "wait for a condition"; if any catalog task state changes to WIP, the parent RITM state changes to WIP.
Then add one more "wait for a condition" to wait for the closing of all the tasks. If all tasks are closed, close the parent RITM.
Customer requirement: These all changes are done by the flow designer only; don't use BR or others
Thanks,
Anil!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi there @AnilM99
After your parallel task creation, add a Wait for condition that checks the task table for any related task moving to Work in Progress (filter on request_item = current RITM and state = WIP). When that condition is met, update the RITM to WIP. Then add a second Wait for condition to monitor when all tasks are closed â for example, wait until the count of tasks where state != Closed is zero. Once done, update the RITM to Closed.
Kind Regards,
Mohamed Azarudeen Z
Developer @ KPMG
