what is difference between business rules and global business rules?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2016 07:53 AM
what is difference between business rules and global business rules?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2016 08:02 AM
The difference is when the business rule is loaded for use. A regular business rule is just loaded for use for the table/form specified. A global business rule is loaded for every page in the system (generally very inefficient). Global business rules were really the predecessor to Script Includes. Global business rules should be avoided whenever possible because of this inefficiency and you should use Script Includes instead (which are loaded only when they are specifically called). Check out this documentation for more details.
http://wiki.servicenow.com/index.php?title=Business_Rules#Global_Business_Rules

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2016 08:03 AM
A business rule is a piece of JavaScript that runs when records are displayed, inserted, updated, or deleted, or when a table is queried. Follow these guidelines to ensure that business rules work efficiently and to prevent unpredictable results and performance issues.
Whereas, A global business rule is any business rule where the selected Table is Global. Any other script can call global business rules. Global business rules have no condition or table restrictions and load on every page in the system. Most functions defined in global business rules are fairly specific, such as an advanced reference qualifieron one field of one form. There is no benefit to loading this kind of script on every page.
Please refer the links below for details:
Business Rules - ServiceNow Wiki
Business Rules Best Practices - ServiceNow Wiki
ServiceNow KB: Best Practices — Business Rules (KB0540192)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2016 08:08 AM
Global business rule runs on every thing on the system or as soon as you login to instance.. and when you want any functionality to happen on insert/update/delete of record then you use normal BR.
Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.
Thanks,
Deepa
Global Business Rules -- When to USE Them