What is difference between Global Business Rule and Script include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2022 12:19 PM
What is difference between Global Business Rule and Script include.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2022 12:23 PM
Hi
A global business rule is a specific type of business rule.
Business rules react to changes on a record on a specific table. For example, when an incident is created, trigger a specific business rule.
Global business rules use "Global" as the table. They don't obey the same set of conditions. Usually, they are used to define functions that can be called from other server side scripts, but have been deprecated with the use of script includes.
Script Includes are reusable server-side script logic that define a function or class. Script Includes execute their script logic only when explicitly called by other scripts. There are different types of Script Includes:
- On demand/classless
- Extend an existing class
- Define a new class
The big different is that all global business rules are loaded on every transaction and script includes are only loaded when you call them. The circumstances where you would need to use a global business rule over a script include are rare to nonexistent.
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2022 09:41 PM
Is your query answered?
Feel free to mark correct, so it ends up in solved queue and will be helpful fo someone looking for similar queries.
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2022 03:09 PM
Hi
Is your issue resolved?
Feel free to mark correct, if your issue has been resolved, so it ends up in solved queue.
Will be helpful for others looking for the similar query.
Aman Kumar