Setting assignment group to multiple groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 09:41 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 10:03 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 11:07 AM
Thanks I did miss the } in line 19.
Seems to be working now,.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 12:14 PM
Please close this thread by Accepting SanjibMeher's post.