Trigger approval to different groups based on value selected in a dropdown on the catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 11:08 PM
Hello,
We have a requirement to create a workflow ( not flow in flow designer ) to trigger approval to different groups based on the value the user selects in a dropdown variable on the catalog item.
We have a catalog item with a variable called "Department" with 3 options ( IT, HR and Procurement ) to select in the dropdown. Based on what option the user selects the workflow should trigger approval to the respective approval group of that department and then proceed further. The groups are something like below -
Department | Assignment group |
IT | IT request approval group |
HR | HR request approval group |
Procurement | Procurement request approval group |
How can this be achieved in the workflow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 11:41 PM
Hi @Swati36 ,
Try Try Scripted Approvals in Flow Designer with Flow Variables as shown in the below article.
You need to chose toggle scripting rules and build your logic to select the group based on Department selected in the variable value.
var approverGroup = "group_sys_id";
return "ApprovesRejectsAnyG["+approverGroup+"]";
Or you can ty with if or else action
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
Thank you
Thanks
Swamy