Optimal way to dynamically change approver in Workflow Studio?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 11:44 AM
I have a Catalog Item which allows the user to select which department should be approving the request.
In Workflow Studio I'm developing the flow which, based on the selection from the end-user, will determine who gets sent the approval email. i.e. user selects dept_a then approver should be approver_a, if they select dept_b then it's approver_b.
I can think of a couple ways to achieve this (Set Flow Vars and if/else logic) but curious if there is a more optimal action or method to achieve the same result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 11:53 AM
Hello @MBarrott
If your department field options are limited, then you can go with if else logic else you can explore Decision table.
Getting Started with Decision Tables - Workflow Au... - ServiceNow Community
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 12:01 PM
I'm actually looking into Decision Tables now but unless I can add values from the flow's data pills then it may be difficult. The department field isn't from the cmn_department table directly.