VR Assignment Rule Script - Secondary Rules not running

atariplayr
Tera Contributor

I have a primary VR assignment rule that uses a script to query information from related Business Applications for assignment information. 

I have 4 more secondary assignment rules developed, but they are never used for assignment.  The secondary rules are not scripts.

It seems like the Script Rule is always returning that it successfully ran and not allowing the secondary rules to process.  Even if the script does not find a group to set to the Assignment Group field.  

Is there special coding needed in an Assignment Rule script to indicate if no assignment was created so that the following rules can process? 

1 ACCEPTED SOLUTION

joe_harvey
ServiceNow Employee
ServiceNow Employee

Hi,

One thing to remember about VR Assignment Rules is that each one is evaluated, in order, until one is found with a Condition that matches the VI in question. When that rule is found, no more rules are evaluated. This is true even if result is that the VI has not been assigned.
 
You are not the first person to encounter this situation. Details are eloquently explained by @julian_azaret & @Chris McDevitt in this question: https://www.servicenow.com/community/secops-forum/vulnerability-assignment-rule-logic-and-execution-...
 
I hope that this helps,
--Joe

View solution in original post

1 REPLY 1

joe_harvey
ServiceNow Employee
ServiceNow Employee

Hi,

One thing to remember about VR Assignment Rules is that each one is evaluated, in order, until one is found with a Condition that matches the VI in question. When that rule is found, no more rules are evaluated. This is true even if result is that the VI has not been assigned.
 
You are not the first person to encounter this situation. Details are eloquently explained by @julian_azaret & @Chris McDevitt in this question: https://www.servicenow.com/community/secops-forum/vulnerability-assignment-rule-logic-and-execution-...
 
I hope that this helps,
--Joe