Update Assignment Group for Incident

Hafila Hatta
Tera Guru

hi. we have assignment rules in place to assign incident to assignment groups based on category field. now, how do we get the assignment group to be updated if the category field has been changed?

 

for example:

INC category is software assigned to software team. now user changed the category to hardware, how to automatically reassign this to hardware team?

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@Hafila Hatta You can create a business rule which will trigger on before update when the incident category changes. Inside the script of this business rule you can write a script which will query the sysrule_assignment table.

 

You can refer to this post https://www.servicenow.com/community/csm-forum/execute-assignment-rule-on-demand-by-script/m-p/40234... where the author has suggested the same script.

View solution in original post

2 REPLIES 2

Mark Manders
Mega Patron

Create a new flow on category change and set the assignment group accordingly.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Sandeep Rajput
Tera Patron
Tera Patron

@Hafila Hatta You can create a business rule which will trigger on before update when the incident category changes. Inside the script of this business rule you can write a script which will query the sysrule_assignment table.

 

You can refer to this post https://www.servicenow.com/community/csm-forum/execute-assignment-rule-on-demand-by-script/m-p/40234... where the author has suggested the same script.