Has anyone built an on-change client script on the Incident table that re-runs the assignment rules?

Scott29
Kilo Sage

Has anyone implemented an onChange client script on the Incident table that re-runs the assignment rules?

 

I'm trying to trigger assignment rules automatically when the category field changes. Right now, I’m using a custom script that replicates the logic of the assignment rules, but I’d like to simplify this by reusing the native rules directly, so everything stays consistent and maintainable.

 

Any suggestions or examples would be appreciated!

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

Hi @Scott29 

in case you are really referring "Assignment rules" they are not suitable for you. Instead use Data Lookup Rules which are more flexible and will change values on your form even the form is not saved yet.

 

Please check the following article which highlights and compares both approaches: https://www.emergys.com/blog/handling-assignment-rules-in-servicenow/ 

 

Maik