approvals based on variable (referrence field)

Anubhav Srivas1
Tera Expert

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: 

DivisionLEVEL 1 APPROVERLEVEL 2 APPROVER
Australia CommercialLine Manager( of the requester)Approval Group Name: Australia Commercial BCD
Australia RetailLine Manager( of the requester)Approval Group Name: Australia Retail BCD
Corporate Centre and ServicesLine Manager( of the requester)Approval Group Name: Corporate Centre and Services BCD
Group ServicesLine Manager( of the requester)Approval Group Name: Group Services BCD
Group TechnologyLine Manager( of the requester)Approval Group Name: Group Tech BCD
InstitutionalLine Manager( of the requester)Approval Group Name: Institutional BCD
New ZealandLine Manager( of the requester)Approval Group Name: New Zealand BCD
PacificLine Manager( of the requester)Approval Group Name: Pacific BCD
Technology COO DomainsLine Manager( of the requester)Approval Group Name: Technology COO Domains BCD
10 REPLIES 10

Anubhav24
Mega Sage
Mega Sage

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.

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.

Ankur Bawiskar
Tera Patron
Tera Patron

@Anubhav Srivas1 

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

I'm not so familiar with flow designer, can we do this through workflow?