Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Standard Change proposal Approval to be modified in the Workflow

taqdeer
Tera Contributor

Hi All,

I want to modify the Standard change proposal workflow as below.

Right now, approvals are being triggered to one particular group. but I want to modify it. If the Assignment group is filled in the standard change proposal as below then approval should be triggering to the Assignment group manager. find_real_file.png

 

If it is not filled then we do have default approvers group as below they should be receiving the approval.

find_real_file.pngCould any one please help me with advanced scripting part in the workflow.

1 REPLY 1

Kieran Anson
Kilo Patron

Hello,

This can be done by modifying the workflow to have an IF condition.

find_real_file.png

 

The IF checks if the assignment group manager is not empty (change the condition to meet your needs).

find_real_file.png

 

If true, it diverts to an "Approval - User" activity, else it continues to the "Approval - Group" which contains the default approval group.

 

Note you do need to change some of the transitions to go to the IF statement rather than the approval group.

find_real_file.png

 

find_real_file.png