What is the use ORDER in business rule?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2014 08:41 AM
I know BR will work low order to high order.
Example 10,11,12 and so on.
I understand something about the use ORDER in BR. But not fully.
My question is
I have 100 BR in order of 100 and I have 10 BR in order of 1000. What BR will execute first?
I know the BR with order 100 will start first. But when the order 1000 will start?
All the 100 BR with order 100 finished first and then only 10 BR with order 1000 will execute?
Thanks in Advance
Dinesh Chinnadurai.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2014 08:55 AM
HI Dinesh,
As you mentioned, the order field is used to ensure proper execution order of business rules. If business rules have the same order, you can not guarantee which will execute first. Often the order does not affect the outcome of the business rule, but sometimes you will come across a situation where a business rule of a higher order will undo the work you completed in an earlier business rule.
It is important to note that all of your business rules do not execute at once. Only the ones that are triggered based on a database operation will execute. For example, if you create a new incident, not all 100 business rules will execute, only those that are setup to execute when an incident is inserted. This is why it is important to order your business rules in relation to other business rules that will execute at the same time, not in relation to every single business rule that exists.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2014 09:19 AM
Hi Lesley Gustafson,
Thanks for your reply,
Ya i know that the BR will execute one by one.
What i am asking is the 100 BR with order(100) will execute one by one before the 10 BR with order(1000)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2014 09:21 AM
Yes

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2014 09:00 AM
You can also review the execution order: http://wiki.servicenow.com/index.php?title=Execution_Order_of_Scripts_and_Engines