Avoid Global UI Scripts

Impact area

Performance

Severity

Low

Affected element

UI Scripts

Rule ID

SN-0176

Impact

Global UI scripts are loaded on every single page/form in ServiceNow even if they code within them is not called.

Remediation

Make the UI Script non-global, and include the UI Script on the appropriate page by referencing the script as needed.

Time to fix

10 min




Last modified on Jun 9, 2020