Trigger approval after all Catalog Tasks get closed in Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2024 12:35 AM
Hi, in my scenario multiple catalog tasks are getting created from List collector variable. I have a requirement to trigger approval once all catalog tasks gets closed. I have attached SS of flow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2024 04:46 AM
Hi @Aaviii
Here are the details steps:
Create an action to check open tasks in RITM
1. Define input to accept RITM sys_id.
2. Add a script to check open tasks and define script output of type "True/False" :
3. Define Output variable of type "String" and assign script output to this variable.
4. Save and Publish the action
5. Call this action in your flow and give RITM sys_id as input.
6. Check if action output is false and ask for approval.
Please mark my answer helpful and accept as a solution if it helped 👍✔️
Kavita Bhojane