Guarded commands (background scripts, deletes, some UI actions) whose per-instance gate is set to Approve don't execute immediately: the command returns EREVIEWPENDING right away with a reviewId, and the actual request waits in the SN Utils helper tab Review Queue for the developer to approve or reject (5-minute…
Resolve the URL an artifact is actually served at — without opening a tab. UI pages render at / .do, Service Portal pages at /sp?id=..., widgets in the preview harness — not at their record form. Handy before navigateandscreenshot or for sharing a link.
List every instance in the workspace with its URL and per-instance activity freshness, plus a suggested default. Purely local — it reads the /settings.json files directly, so it needs no browser helper tab and never returns EINSTANCEREQUIRED. Use it as the first step when you don't yet know which instance to target.
Navigate a connected ServiceNow tab to a URL (opening a tab if none is found) and resolve once the page finishes loading. Use this to put a specific record/list in front of the live-form commands (setfield, getformstate, runuiaction). For a screenshot in the same step, prefer navigateandscreenshot.
Open/activate a URL, wait for it to finish loading, settle briefly, then screenshot that exact tab — collapsing the activate → sleep → screenshot dance into one call. The PNG is saved under screenshots/.
Pull records from ServiceNow and store their code fields into canonical local workspace files ( / / / . . or / / . for folder-record tables) with automatic map.json registration.
Make an arbitrary ServiceNow REST call through the connected browser session (reuses its authentication). The escape hatch for anything the typed commands don't cover.
Execute a server-side background script (/sys.scripts.do) on the instance and return its captured output. Runs as the connected browser user, in the global scope. Disabled by default — enable sn-scriptsync.backgroundScripts.enabled.
Trigger a UI action on the active ServiceNow form in the connected browser tab. Runs the real client-side path (gform.save() / gform.submit()), so onSubmit client scripts and UI policies execute. A page reload usually follows, so the command resolves as soon as the action is dispatched (not when the reload finishes) …
Install a native-dialog handler on the connected tab through the Chrome debugger (CDP). While active, browser-native confirm() / alert() / prompt() and the dirty-form beforeunload ("Leave site?") prompt are answered automatically and recorded (message text included). Pair with cleardialoghandler to remove it and read…
Set a field value on the active ServiceNow form in the connected browser tab via gform.setValue. Because this drives the live form, it fires client scripts, onChange handlers, and UI policies — unlike a REST updaterecord, which bypasses all client-side logic. Use it to reproduce/verify client behaviour, not for bulk…
Start capturing console. output, log entries, and uncaught exceptions on the connected ServiceNow tab through the Chrome debugger (CDP). Pair with stopconsolecapture.
Start recording network traffic on the connected ServiceNow tab through the Chrome debugger (CDP). Captures request method/URL/headers and, by default, response bodies — things content scripts can't see. Pair every call with stopnetworkcapture, which returns the log and detaches the debugger.
Stop the capture started by startconsolecapture and return the collected entries. Detaches the Chrome debugger unless another capture/handler is still active on the tab.
Stop the capture started by startnetworkcapture and return the recorded requests. Detaches the Chrome debugger (dropping the banner) unless a console capture or dialog handler is still active on the tab.
Switch ServiceNow context: update set, application scope, or domain. This uses the ServiceNow UI Concourse Picker API to change the active context in the browser session.
★not rated 53 todayA0 tokens
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: