How can I differentiate between Business Rule and Script Include?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2023 03:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2023 06:46 AM
Hi gagandeeps,
Business rule:
A business rule is a server-side script that runs when a record is inserted, updated, deleted, displayed or when a table is queried. A typical business rule might execute a script after a user updates an incident or escalates the priority of a change request.
Business Rules - ServiceNow Wiki
Script Include:
Create script includes to store JavaScript functions and classes for use by server scripts. Each script include defines either an object class or a function. Script includes run only when called by a server script.
Script Includes - ServiceNow Wiki
Please mark my solution correct or helpful, if applicable.
Thanks & Regards,
Satyapriya Biswal