Author: Mike
-
How to use autoSysFields(false) and setWorkflow(false)
ServiceNow – How to use autoSysFields(false) and setWorkflow(false)
-
Find Duplicate Asset Tags
Here is a background script for finding duplicate asset tags in hardware asset table.
-
Find Duplicate Users
Here is a script to easily find users with the same name in the system. Useful for proactively detecting and fixing duplicates.
-
Restart RITM Workflow
Here is a background script for restarting a workflow. You can also consider creating a UI action.
-
Copy Comments from Requested Item (RITM) to All Active Catalog Tasks (sc_tasks)
ServiceNow Business rule to copy RITM comments to all active child catalog tasks. This is useful for when the requestor adds a comment to the RITM, and we need to communicate that comment to the sc_task fulfillers. Business RuleTable: Requested Item [sc_req_item]AdvancedBefore UpdateCondition: Additional comments changes
-
GlideRecord Reference Sheet
Examples only Query Active Incidents Query Using Get Insert Record Delete Multiple Encoded Query Get Row Count Set Limit orderBy / orderByDesc
-
How to use ServiceNow JavaScript Executor
The client-side equivalent of a background script.
-
REST API – Order Catalog Item
Useful API for submiting a catalog item request from a third party application to ServiceNow using REST API.
