approvals based on variable (referrence field)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 03:59 AM
Hi Experts,
based on the Divison selected , i.e. a (reference field) from the department table, I want to trigger approvals based on the below selections. I'm not able to achieve it and require your help in creating a workflow that checks the current value of the division ( which is fetching from department table) and trigger approvals accordingly.
the conditions are as follows:
Division | LEVEL 1 APPROVER | LEVEL 2 APPROVER |
Australia Commercial | Line Manager( of the requester) | Approval Group Name: Australia Commercial BCD |
Australia Retail | Line Manager( of the requester) | Approval Group Name: Australia Retail BCD |
Corporate Centre and Services | Line Manager( of the requester) | Approval Group Name: Corporate Centre and Services BCD |
Group Services | Line Manager( of the requester) | Approval Group Name: Group Services BCD |
Group Technology | Line Manager( of the requester) | Approval Group Name: Group Tech BCD |
Institutional | Line Manager( of the requester) | Approval Group Name: Institutional BCD |
New Zealand | Line Manager( of the requester) | Approval Group Name: New Zealand BCD |
Pacific | Line Manager( of the requester) | Approval Group Name: Pacific BCD |
Technology COO Domains | Line Manager( of the requester) | Approval Group Name: Technology COO Domains BCD |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 04:18 AM
Hi @Anubhav Srivas1 ,
You can use the Switch activity in your workflow after the the Begin activity, https://docs.servicenow.com/bundle/rome-servicenow-platform/page/administer/workflow-activities/refe...
Using switch you can check the values and trigger your approvals accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 04:28 AM
Hello,
I'm not sure how to make this work. if the values are predefined in a select box i know how to use switch condition but here's it's coming from a reference field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 04:40 AM
why not use Decision Builder if you are using flow?
Use Decision Builder with Flow Designer to pick Approvers
If you are using workflow then you can use Advanced script in the User/Group approval activity
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 07:05 AM
Hi Ankur,
I'm not so familiar with flow designer, can we do this through workflow?