Trigger Approval based on previous task closed in Flow Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2024 10:21 PM
Hi Community,
I have a requirement that, we have a catalog item and attached to a flow designer to fulfill the requirement.
there are multiple steps in flow,
1. Task is created
2. Ask for approval
3. if approved --> submit catalog item request ---> create task --> update record
4. if reject --> same procedure with different values
My requirement is , i need to ask the approval based on the 1st task, if task is closed and assignment group in the task is A --> then approval goes to the specific user of that group, if it is approved repeat the steps... and same thing i need to do for all the groups, i have 20 groups... is there any script method to call in flowdesigner or call a subflow, any sugeestion
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2024 10:24 PM
Hi there,
Perhaps for those 20 groups you can use Decision Builder? That can simply designs a lot.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2024 12:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2024 02:05 AM
If I understood your requirement clearly, you want the approval to be taken from 20 different assignment groups ?
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2024 12:34 PM
Hi @Amit Verma
I need to ask the approval based on previous task closed, it is achieved via, if task state is closed and assignment group is X then ask for approval to specific user.
If ask for approval is approved ---> then submit catalog item request(via custom action), update record , create task , update parent record...
If ask for approval is rejected ---> create task, submit catalog item request, update parent record...
I need to do this again and again for 20 groups.. is there any simple method to do??? Because flow is too much complicated if i repeat these steps again and again in if-else loops.
Thanks
Deepak Sharma