- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 12:24 PM - edited 04-04-2024 12:36 PM
I have a flow that creates 20+ tasks (each one creates once the previous one closes). There are some if statements in the flow for some conditional tasks.
Question:
If any of the tasks are Closed Incomplete, I need the flow to end (stop creating additional tasks), set RITM to Closed Incomplete.
What is the best way to accomplish this? Is there a way to do this with a subflow or lookup and actions, without adding conditions/scripts to each 'Create Task' action?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 12:55 PM
Hi @angelas,
What could work is using an 'If' Flow Logic after each Task and set as:
- Create Catalog Task action with 'Wait For' Condition
- 'If' Flow Logic where you check If Task State - Is Not - Closed Incomplete - Generate next task.
This could provide a solution to not continue the Flow if the Task isn't Closed Complete.
Hope this helps!
Josh Pirozzi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2024 01:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 12:55 PM
Hi @angelas,
What could work is using an 'If' Flow Logic after each Task and set as:
- Create Catalog Task action with 'Wait For' Condition
- 'If' Flow Logic where you check If Task State - Is Not - Closed Incomplete - Generate next task.
This could provide a solution to not continue the Flow if the Task isn't Closed Complete.
Hope this helps!
Josh Pirozzi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2024 08:55 AM
Thank you.
In the flow, for the subsequent 'Create Task' actions I have the wait condition checked.
Could you kindly post a sample script or point me to a link to one that would satisfy that If Flow logic?
There is a Data Pill there but it seems like I can only select the 'State' field for the previous Create Task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2024 01:15 PM