Rules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
For high-performance processing, which is preferred: Business Rules or Script Includes?
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @BiswaRanjanRout ,
Based on my understanding, for high-performance processing in ServiceNow, Script Includes are generally preferred for implementing reusable and complex logic, as they execute only when explicitly called and can be reused across multiple components.
Business Rules, on the other hand, are best used as trigger points for specific database events (insert, update, delete) and should remain lightweight, typically delegating heavy processing to Script Includes.
This approach helps improve performance, maintainability, and scalability.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
It really depends on which business logic that you need to run and how comprehensive your script are. Both script include and business rules run server side, so from a processing standpoint it would be the same.
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @BiswaRanjanRout
For high-performance processing, Script Includes are preferred over Business Rules.
Script Includes execute only when explicitly called, making them more efficient, reusable. Business Rules are event-driven and evaluated automatically on record operations, which can add especially on high-volume tables.
Best practice:
Keep Business Rules lightweight and use them only as triggers, while placing complex or reusable logic inside Script Includes.
Script Includes = better performance and scalability
Business Rules = triggers, not heavy processing
