GlideRecordSecure should not be used in Inline Scripts.

< 1 min read

Impact Area

Performance

 

Severity

Low

 

Affected Element

Inline Script

 

Rule ID #

SN-GLIDERECORDSECURE-USAGE-INLINE-SCRIPTS

Impact #

The use of GlideRecordSecure in inline scripts can cause performance issues, especially if many queries or updates to the database are performed at runtime. This can slow down the system and affect the user experience.

Remediation #

Use Script Includes to encapsulate database logic and business rules to manage database operations instead of doing so directly in inline scripts.

Time to fix

40 min

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