Change Managmnet Approval Process Workflow

Kanna12
Tera Expert

Hello All!

I have a scenario where i want to send an approvals into 4 groups in authorization level and any one from each group must be approve to move into scheduled stage.

I created 4 groups and configured those sys_id's in sys_properties. 

Test_1:"5281139d1b75f1105c6eeaccac4bcbab"

Test_1:"5281139d1b75f1105c6eeaccac4bcbac"

Test_1:"5281139d1b75f1105c6eeaccac4bcbad"

Test_1:"5281139d1b75f1105c6eeaccac4bcbae"

 

1. I wrote below script in workflow to call sys_property values. But Approvals are not going into any of the groups.

answer = [];
var jsonProperty = new JSONParser();
var authorizeGroupProperty = jsonProperty.parse(gs.getProperty('Emergency Authorization Approvals'));
var currentChgCreationGrp = current.u_change_creation_group;
if (currentChgCreationGrp.startsWith('oit')) {
    answer.push(authorizeGroupProperty["Test"]);
    }
 

2. I didn't see an option to select "any one from each group to approve"  in Condition approval field.

ShashankKumar_2-1712863813372.png

 

Please any one please provide an inputs to resolve this

 

Much Appreciated!!

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Kanna12 

 

Seems you are using wrong Approval activity.

 

AGLearnNGrow_0-1712911037989.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

5 REPLIES 5

Hi @Kanna12 

 

I will still say, you can add a condition and add 4 groups on workflow. I am not coder mate, so this area is my weak area. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************