GlideRecord And GlideRecordSecure Should Not Be Used In UI Policies. Script False

< 1 min read

Impact Area

Performance

 

 

 

 

 

 

Severity

High

 

 

 

 

 

 

Affected Element

For new instances, deprecated BPs will not appear.

For existing instances, the new BPs will appear as ignored, and if enabled, their corresponding deprecated ones should be deactivated to prevent duplicate issues.

BP Deprecated New BP Affected Element
SN-0323     SN-GLIDERECORD-USAGE-UIP-FALSE  UIP-UI Policy

Rule ID #

SN-GLIDERECORD-USAGE-UIP-FALSE

Impact

The client side GlideRecord/GlideRecordSecure object is often inefficient, because it returns lots of unnecessary data.

Remediation #

 Use client data as much as possible to eliminate the need for time-consuming server lookups. The top ways to get information from the server are g_scratchpad, and asynchronous GlideAjax lookup.

Time to fix

40 min

Updated on March 21, 2025
Table of contents
Was it helpful ?