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

HrishabhKumar
Kilo Sage

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.

@HrishabhKumar  i tried that also its not working.

 

@HrishabhKumar its not working

SantoshOraon_0-1721108824061.png