ServiceNow Business Rule Best Practices for Reliable Server-Side Logic
Build faster, safer ServiceNow Business Rules with the right timing, narrow conditions, reusable Script Includes, and practical debugging techniques.
Read guidePractical guides, useful scripts, and lessons from working with the platform. A little less figuring it out. A little more getting it done.
A targeted query is a good place to start.
// Only the records you need
var incidents = new GlideRecord('incident');
incidents.addQuery('active', true);
incidents.setLimit(10);
incidents.query();Read the query performance guide 
The notebook
Build faster, safer ServiceNow Business Rules with the right timing, narrow conditions, reusable Script Includes, and practical debugging techniques.
Read guideReduce alert noise in ServiceNow Event Management with better message keys, thresholds, CI binding, ignore rules, grouping, and incident automation.
Read guideUse these ServiceNow import set and transform map best practices to prevent duplicates, improve performance, validate data, and build supportable imports.
Read guideThe script library
70 ServiceNow examples across client scripts, business rules, integrations, and more. Find a pattern, understand it, and adapt it to your instance.
Open the script libraryHave a ServiceNow question or a project in mind?