Is there a way to stop processing additional business rules?

Mike Hill1
Giga Contributor

I am looking for a way to add code or a condition to a business rule such that it prevents further business rules and their code from running.   I remember seeing something like this in the past but am having a difficult time locating the code or trigger to do this.  

Lets say I have 3 business rules on the incident table.   They have Order 10, 50, 100 and they all only trigger before an 'Update' to a record on the table.

Is there a way to have the business rule at order 50 have a condition or section of code when true that prevents the order 100 business rule from running at all?

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Michael,



Use of setWorkflow disables the running of BR. More info here.


http://wiki.servicenow.com/index.php?title=GlideRecord#setWorkflow&gsc.tab=0


View solution in original post

5 REPLIES 5

Mike, that is cool.  You are a gentleman and a scholar.