Incidents are getting assigned to non Incident group type assignment groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2025 03:38 AM
In snow instance, we have an restrictions to assign the incident tickets to an assignment group which has type as "Incident". But Incidents are getting assigned to other group type like change approval, change assignment by some UI action or API.
Requirement:
To restrict the incidents to be assigned to non-incident group type irrespective of API, UI Action.
Also, how to restrict the API user to create incidents to non incident group?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2025 03:55 AM
you can create a BR for this
add your desired message
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thanks Chaitanya.
I have created the BR now it pop up an error message to enter correct group type but assignment group field filled up with the assignment group name.
Is there any way to clear out the assignment group field upon show up the error message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @KapilB789322145 ,
you can update the BR like this
BR script
(function executeRule(current, previous /*null when async*/) {
// Add your code here
current.assignment_group='';
gs.addErrorMessage('assignment group should be of incident type');
current.setAbortAction(true);
})(current, previous);add your message content inside gs.addErrorMessage()
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2025 03:56 AM
Hi @KapilB789322145,
have you reviewed Assignment rules?
PS: if possible don't call it Snow, it's another product. Rather go with SN, ServiceNow or Now.. ;))
No AI was used in the writing of this post. Pure #GlideFather only
