Setting assignment group to multiple groups

Roshni1
Tera Expert

We have many teams that use SN Incidents to assist users not only Service Desk.

 

So I am tring to set the assignment group to differnt groups based on one varialbe which is "Issue related to" what the user selects would depend on which assignment group it should be sent to. 

I am also wanting to set the Category based on the Issue related to as well. 

This is the script that I have but it is not working and sending everything to Service Desk. 

what am I doing wrong, any assitance would be apprecaited. 

 

Roshni1_0-1745944786897.png

 

3 REPLIES 3

SanjivMeher
Kilo Patron
Kilo Patron

It looks like you are missing a "}" in line 19.

You should also use else if as a best practice for assignment group related if conditions and to compare use "==" instead of "===".

If this still doesnt work, please post the complete script.

You may also need to check if there is business rule which is forcing the assignment group to set to Service Desk


Please mark this response as correct or helpful if it assisted you with your question.

Thanks I did miss the } in line 19.

Seems to be working now,. 

 

Please close this thread by Accepting SanjibMeher's post.