ServiceNow
-
Access Subflow inputs from Activity Script
I have cloned the “Create Incident” Sub-Flow. Note that this is a SubFlow not a flow. I am now modifying the…
-
How to Debug Client Callable Script Includes (Ajax Scripts)
According the the SN documentation, it is not possible to use the Script Debugger to debug GlideAjax Script Includes such as…
-
Mid Server – Windows File Permissions
Windows File Permissions on MID Servers can be difficult to manage. The problem becomes apparent when errors about File permissions appear…
-
ATF Testing – Parameters, Scratchpad and Workflows
The Script Include below has a number of helper methods for ATF Testing – such as: According to the documentation, using…
-
Inheritance for Javascript in ServiceNow
Inheritance is a very useful design pattern for all programming languages. However, the ServiceNow documentation dies not make it clear how…
-
GlideRecord deleteMultiple
Deleting records can be very slow, but the code below deletes them more quickly. By using the command setWorkFlow(false), you can…
-
Setting a Password using JavaScript
The code below can be used in a Background Script or Fix Script to reset a User’s password. The key command…