Performance

6 items tagged with "Performance"

Posts

When to Use addEncodedQuery() and applyEncodedQuery()
May 2, 2026 5 min read

When to Use addEncodedQuery() and applyEncodedQuery()

Encoded queries are one of the fastest ways to move a filter from a list view into a script.

ServiceNowGlideRecordEncoded QueryPerformance
Use GlideAggregate Instead of GlideRecord.getRowCount()
Mar 28, 2026 3 min read

Use GlideAggregate Instead of GlideRecord.getRowCount()

When a server-side script only needs to know how many records match a condition, GlideRecord with getRowCount() is usually the wrong tool. It works, but it is a …

ServiceNowGlideRecordGlideAggregatePerformance
Querying ref_ Fields on Extended Tables
Mar 14, 2026 5 min read

Querying ref_ Fields on Extended Tables

ref_ queries are one of those ServiceNow features that are useful, slightly obscure, and easy to misuse. They show up when you start from a base table such as task, but …

ServiceNowGlideRecordPerformanceTable Extension
ACL Misconceptions That Hurt Performance
Feb 2, 2026 5 min read

ACL Misconceptions That Hurt Performance

ACLs are easy to treat as a pure security feature and forget that they also sit on a hot path. When an instance loads a form, renders a list, or reads fields through …

ServiceNowACLSecurityPerformance
Minimize Server Lookups in Client Scripts
Jan 4, 2026 4 min read

Minimize Server Lookups in Client Scripts

Client scripts get slow and noisy when every small decision turns into another server call. Most of the time, the real problem is not the API. It is choosing the wrong …

ServiceNowClient ScriptJavaScriptPerformance
Querying Tables Best Practices
Oct 15, 2025 4 min read

Querying Tables Best Practices

Querying tables is one of those things that looks harmless until the same script runs against production-sized data. A query that feels fine with a few hundred records …

ServiceNowGlideRecordPerformance