Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

TejaswiniS08668
ServiceNow Employee

Understanding Assignment Group in Trigger Rules

 

Assignment group conditions work differently depending on when your trigger runs. Include assignment group in your conditions only when the trigger runs on update, not on creation.

There are Two Trigger Types:
On Create On Update
run_trigger = run_once run_trigger = trigger_field_changes
This assigns the record to the appropriate assignment group based on what group is mentioned in the group field( "What action to take UI Section) This is triggered whenever the selected trigger_field changes.
For example: When assignment group changes, then each time the the trigger_action gets invoked. 
The conditions to match here cannot contain "assignment_group= "group_name" since this trigger_rule is used for populating the right assignment group. The conditions here can contain a check on a spcific assignment group. 
For example: A check can be in place which mentions that when every time assignment group changes and assignment_group="group_name" invoke the trigger action
Examples showing you to configure trigger rules for this case.
TejaswiniS08668_0-1788855068973.pngTejaswiniS08668_1-1788855080598.png

 

TejaswiniS08668_2-1788855131705.pngTejaswiniS08668_3-1788855140112.png


Note: If there is a scenario where while creation of a record populating the assignment group is mandatory, the update scenario can be made use of to trigger the On-Call Escalation flow.

 

Version history
Last update:
2 hours ago
Updated by: