Difference between script include and BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2017 11:48 PM
Difference between script include and BR
- 10,626 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2017 12:29 AM
Business rule runs on server side. Reusable server side scripts can be stored in script include.
script include runs only when called by other scripts.
script included are reusable codes. You can call script includes form client script also..
Instead of script include you can write global business rules, But global business rule is loaded for every page in the system (generally very inefficient). 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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2017 12:34 AM
Hi Jai,
If you run through the scripting in Service Now training modules on the developer portal they should give you a pretty good idea of what different methods are used for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 01:00 PM
Hi Jai,
if your query is answered, please mark my response as correct , so that this will be helpful to other community users.
Let me know if that answered your question. If so, please mark the response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list. Thank you
How To Mark Answers Correct From Community Inbox
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2023 08:43 AM
Script include will execute only when it is called, but the Business rule will always run by triggers.