Has anyone built an on-change client script on the Incident table that re-runs the assignment rules?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-03-2025 08:31 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-03-2025 09:40 PM
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