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.

how to update the assignment group by using Flow designer Script

Santosh Oraon
Tera Expert

Hi team , 
I wanted to update the assignment group by using scripting in Flow designer.
trigger condition :- whenever incident priority changes to critical and state changes to in-progress
action - update the assinment group by using script 
I have tried returning sys_id but its not working ..plz guide me

SantoshOraon_1-1721063323943.png

 

 

3 REPLIES 3

Community Alums
Not applicable

Hi @Santosh Oraon ,

You are returning the name of the assignment group, instead try returning the sys_id then it will work.

var name = gr.name; //replace this with

var name = gr.sys_id;

 

Thanks,

Hope this helps.

If my response turns helpful, mark it helpful and accept solution.

@Community Alums  i tried that also its not working.

 

@Community Alums its not working

SantoshOraon_0-1721108824061.png