How to script in flow designer to send approval to different groups for different choices?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 02:58 AM
Based on the selection of choices of a field, the approvals are going to different groups non the ritm level.
How to script that in flow designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 03:19 AM
Why not use a simple "If" condition which Servicenow Flow designer provides rather than doing it from the script?
Let me know if this directs you to your solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 03:36 AM
Hi @Mouktik_B
Just go ahead and add the IF ELSE Steps, check for the conditions and ask for group approvals accordingly.
You can define as many steps as you wish.
If you've quite a lot of choices and approvals in your conditions, you can leverage the Decision Builder approach that can help to decouple decision logic.
Exploring Decision Builder
Define your Decision Table with the Input Conditions and result of Approval Groups.
In your Flow Designer, use the Make a decision action.
Let me know if it works for you.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 03:51 AM
you can use scripted approvals in flow or use decision builder
check this link and enhance it as per your requirement
Flow Designer Approvals Overview - Workflow Automation Center of Excellence
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader