

Replace Deprecated Logging Methods in Scoped App
In ServiceNow scoped applications, using gs.log() can lead to script failures because it is not supported in scoped environments....
4. März 20251 Min. Lesezeit
Activate Account Recovery Feature
The Account Recovery (ACR) feature in ServiceNow provides administrators with a failsafe mechanism to regain access to an instance in...
4. März 20252 Min. Lesezeit


Avoid 'gr' Variable in Scripts
Using 'gr' as a variable name in ServiceNow scripts is a common practice that can lead to significant issues due to JavaScript's global...
4. März 20251 Min. Lesezeit


Avoid Hard-coded IDs in Script
A hard-coded sys_id in scripts is a common issue in ServiceNow that can significantly reduce the flexibility and maintainability of your...
4. März 20251 Min. Lesezeit
Avoid Use Global UI Script
Global UI scripts in ServiceNow are designed to load on every page within the instance. While they can provide functionality across...
4. März 20251 Min. Lesezeit


Remove alert() from Client Script
Using alert() functions in client scripts within ServiceNow disrupts the user experience by generating pop-up messages that require user...
4. März 20251 Min. Lesezeit


Verify Purpose of User Lockout
When a user is locked out of a ServiceNow instance, it's crucial to determine the cause—whether it's due to failed login attempts, a...
4. März 20252 Min. Lesezeit
Add Explicit Order to Client Script
Client scripts in ServiceNow are often set up to change how forms behave on the client side, like hiding fields or making fields...
4. März 20251 Min. Lesezeit






