Cheat Sheet
Complete SN Utils slash commands and switches quick reference with companion video.
Last updated: March 17, 2026
A quick reference for all built-in slash commands, switches, and keyboard shortcuts. Print it, bookmark it, or keep it open while you work.
Download the Cheat Sheet (PDF)
Companion Video
Navigation Commands
| Command | Description |
|---|---|
/tablename | Open any ServiceNow table list by typing its name. For example /incident opens the Incident list, /sys_script opens the Business Rules list. This is the most-used slash command — just type a table name to navigate to it instantly. |
/tablename searchterm | Search within a predefined table command. For example /p ui.session searches System Properties where name contains ui.session. The search term is matched against the command's default field (e.g. name, user_name, api_name). Combine with switches like -a (active only) or -s (current scope). |
/tablename <encoded query> | For dynamic table commands resolved from sys_db_object (like /incident, /task, /sys_user_group), pass an encoded query or use an inline -field:value filter. For example /incident short_descriptionLIKEvpn or /incident -short_description:vpn. A bare search word won't filter anything because there's no default search field. |
/tab | Open a new browser tab to the current ServiceNow instance homepage. With an argument, opens a specific page or portal — for example /tab csm opens the CSM portal, /tab esc opens the Employee Center, /tab foo.do opens a specific page. |
/start | Open a new ServiceNow navigator tab (classic UI nav_to.do). Useful for opening a fresh frame with the navigation sidebar. |
/list | Open the current record in its table list view. Works from a form, workspace record, report, Knowledge article, or PA dashboard URL — extracts the table and sys_id and navigates to the list filtered to that record. |
/me | Open your own user profile record (sys_user). A quick way to check or update your user details without searching. |
/sp | Open the Service Portal (/sp). Navigates to the default Service Portal homepage on the current instance. |
/ec | Open the Employee Center portal (/esc). Navigates directly to Employee Center on the current instance. |
/m searchterm | Search the All menu in Next Experience (Polaris). Filters the navigation menu items matching your search term. Only works in the Next Experience UI. |
/tsk number | Open a task record by its number (e.g. /tsk INC0012345). Works with any task-based table — incidents, changes, problems, requests, etc. — by looking up the record by its task number. |
/sow | Open Service Operations Workspace (/now/sow/home). Navigates directly to the SOW landing page. |
Development Commands
| Command | Description |
|---|---|
/br name | Filter Business Rules (sys_script) by name. For example /br onChange shows Business Rules with "onChange" in the name, ordered by last updated. Add -s to limit to the current application scope. |
/cs name | Filter Client Scripts (sys_script_client) by name. For example /cs onLoad shows Client Scripts with "onLoad" in the name. Add -a for active-only or -s for current scope. |
/si name | Filter Script Includes (sys_script_include) by API name. For example /si ArrayUtil shows Script Includes matching "ArrayUtil". Results are ordered by last updated. |
/ua name | Filter UI Actions (sys_ui_action) by name. For example /ua Save shows UI Actions with "Save" in the name. Useful for finding buttons, links, and context menu items. |
/up name | Filter UI Policies (sys_ui_policy) by short description. For example /up mandatory shows UI Policies with "mandatory" in the description. |
/uis name | Filter UI Scripts (sys_ui_script) by name. UI Scripts are global client-side scripts loaded on every page. |
/p name | Filter System Properties (sys_properties) by name. For example /p glide.ui shows all properties starting with "glide.ui". Useful for finding and checking instance configuration settings. |
/acl table operation | Filter ACLs (sys_security_acl) by table name and operation. For example /acl incident write filters ACLs for the incident table with write operations. Both arguments are optional. |
/tables searchterm | Search table definitions (sys_db_object) by label or name. For example /tables incident shows tables matching "incident". Useful for discovering table names you don't remember. |
/app name | Filter Application scopes (sys_scope) by name or scope ID. For example /app global shows applications matching "global". Useful for finding application sys_ids or exploring installed apps. |
/plug searchterm | Search installed Plugins via the plugin management page. For example /plug ITSM shows plugins matching "ITSM". |
/log searchterm | Filter the System Log (syslog) to entries created today matching your search term. For example /log error shows today's log entries containing "error" in the message or source. |
/trans searchterm | Filter the Transaction Log (syslog_transaction) to entries created today matching a URL pattern. For example /trans api/now shows today's transactions whose URL contains "api/now". Useful for debugging API calls. |
/bg | Open the Background Script page (sys.scripts.modern.do). Run server-side JavaScript directly on the instance. |
/bgc | Open Background Script pre-populated with a var grTableName = new GlideRecord(...) template for the current record (e.g. grIncident, grSysUser). The table name and sys_id are filled in automatically from the page you are viewing. Useful for quickly scripting against the record on screen. The variable is deliberately not called current so the script can safely trigger Business Rules without shadowing the reserved current global. |
/bgl | Open Background Script pre-populated with a list GlideRecord template for the current list view. The table name, filter, and active ORDERBY / ORDERBYDESC sorting are filled in automatically. Useful for running bulk operations on the records in your current list. |
/bgm | Open Background Script Modern (sys.scripts.modern.do). Same as /bg, targets the modern script editor available in Washington and later releases. |
/debug | Open the ServiceNow Script Debugger. Launches the built-in server-side script debugging tool. |
Studio & Builder Commands
| Command | Description |
|---|---|
/st | Open ServiceNow Studio (classic, studio.do). The IDE for developing applications within ServiceNow. |
/sns | Open the new ServiceNow Studio (/now/servicenow-studio). The next-generation development environment. |
/aes | Open App Engine Studio (/now/appenginestudio). The low-code application development environment. |
/ide | Open the ServiceNow IDE (Glider IDE). Available at /sn_glider_app/ide.do. |
/uib | Open UI Builder (/now/builder/ui). The visual page builder for Next Experience / Polaris pages. |
/uibe searchterm | Search UIB Experiences (registered UX pages) by title or path. For example /uibe workspace shows experiences matching "workspace". Selecting a result opens it directly in UI Builder. |
/uibo | Open the current UX page in UI Builder. Detects the current Next Experience page you are viewing and opens it in the UI Builder editor. Only works when you are on a UX (Polaris) page. |
/ois | Open the current record in an already-open ServiceNow Studio tab. Useful when working in Studio and wanting to jump to the record definition of something on screen. |
/fd | Open Flow Designer (/$flow-designer.do). The graphical tool for building flows and subflows. |
/ws | Open Workflow Studio (/now/workflow-studio/home/flow). The newer workflow design environment. |
/wf | Open the legacy Workflow Editor (workflow_ide.do). The classic graphical workflow designer. |
/va | Open Virtual Agent Designer (/$conversation-builder.do). The tool for building chatbot conversations. |
/pad | Open Process Automation Designer (/now/process/home). The tool for process automation playbooks. |
/mab | Open Mobile Application Builder (/now/mobile-app-builder). Build and configure mobile app experiences. |
/naa | Open Now Assist AI Agents Studio (now/agent-studio/overview). The tool for building and managing Now Assist AI agents. |
/nas | Open Now Assist Skill Kit (now/now-assist-skillkit/skills). Manage and develop Now Assist skills. |
/db | Open Dashboards ($pa_dashboard.do). Navigate to the Performance Analytics dashboard homepage. |
Search & Lookup Commands
| Command | Description |
|---|---|
/code searchterm | Open Code Search — a powerful SN Utils feature that searches across all script fields (Business Rules, Client Scripts, Script Includes, UI Scripts, etc.) using GraphQL. For example /code GlideRecord finds all scripts containing "GlideRecord". Supports table filters and regex. See the Code Search documentation for full details. |
/search searchterm | Perform a Global Instance Search (text_search_exact_match.do). Searches across all indexed tables for the given term. For example /search VPN issue performs a platform-wide text search. |
/sysid sys_id | Search the entire instance for a record by its sys_id. Useful when you have a sys_id from a log or reference and want to find which table it belongs to. |
/u searchterm | Filter the Users table (sys_user) by username or display name. For example /u admin shows users matching "admin". Useful for quickly finding user records. |
External & Reference Commands
| Command | Description |
|---|---|
/api searchterm | Search the ServiceNow Developer References on developer.servicenow.com. For example /api GlideRecord opens the developer docs search for GlideRecord API documentation. |
/dev searchterm | Search the ServiceNow Developer Portal / product docs. For example /dev flow designer searches the official docs for Flow Designer content. |
/docs searchterm | Search ServiceNow Docs (docs.servicenow.com). For example /docs ACL opens the official documentation search for ACL-related pages. |
/comm searchterm | Search the ServiceNow Community forums. For example /comm performance searches community posts about performance. |
/tweets searchterm | Search @sn_utils tweets on Twitter/X. For example /tweets new feature shows recent SN Utils tweets matching "new feature". |
/cheat | Open this cheat sheet page (snutils.com/docs/guide/slash-commands/cheatsheet). Quick link to the full command reference. |
Utility Commands
| Command | Description |
|---|---|
/sa | Switch Application scope. Without an argument, shows the 10 most recently used application scopes for quick switching. With an argument, searches scope names and IDs. Type a number to select. Press SHIFT first if number keys are inactive. |
/su name | Switch Update Set. Lists in-progress update sets in the current application scope. With an argument, filters by name. Selecting one makes it the active update set. |
/usm | Open the Update Set Manager dialog: browse, switch, create, complete and re-parent update sets across scopes without leaving the page. Viewing and switching are free; create, bulk, parent, complete, preview and rename are Pro. Public Beta. |
/usd | Switch to the Default update set of your current application scope, without opening the manager. |
/sd name | Switch Domain (domain-separated instances only). Search and switch to a different domain by name. |
/imp username | Impersonate a user. Without an argument, shows recent impersonations. With an argument, searches by username. While impersonating, use /imp again or /unimp to stop. |
/unimp | Stop impersonating and reload the page. Returns to your own user session. |
/impm group | Impersonate a group manager. Searches active groups by name and impersonates the selected group's manager. |
/impg group | Impersonate a group member. Searches active groups by name, lists the active members, and impersonates the one you pick. |
/elev | Toggle elevated Security Admin role. Without an argument, toggles the security_admin role. With an argument like /elev role_name, toggles a specific elevated role. The page reloads after execution. |
/tn | Show Technical Names — toggle display of field names, table names, and other internal identifiers on the current page. Also available via keyboard shortcut Ctrl+3 / Cmd+3, or by double-clicking a field label. |
/uh | Show Hidden Fields — reveals all fields on the current form that are hidden by UI Policies, Client Scripts, or view configuration. Useful for debugging why a field value isn't visible. |
/um | Un-Mandatory — set all mandatory fields on the current form to non-mandatory (Admin only). Useful for testing or when you need to save a record without filling all required fields. |
/pop | Toggle between framed (with ServiceNow navigation chrome) and frameless (standalone) view. If the page is inside nav_to.do or the Polaris nav wrapper, /pop extracts the inner URL for a clean standalone view. If already frameless, wraps it back in navigation. Also available via Ctrl+2 / Cmd+2. |
/lang code | Switch the session language using a 2-letter language code. For example /lang nl switches to Dutch, /lang de switches to German. If the language isn't installed on the instance, nothing changes. |
/cancel | Cancel your currently running server transactions (cancel_my_transactions.do). Useful when a long-running query or operation is blocking your session. |
/env instance | Open the current page in a different instance. For example /env dev opens the same URL on dev.service-now.com. Without an argument, opens a copy of the current page in a new tab on the same instance. Great for comparing records across environments. |
/cls | Clear the browser's local storage for the current instance. Useful when the application navigator menu isn't updating, new tables are missing from table lists, or cached data is stale. Run /cls then reload the page. |
/back | Jump back to the ServiceNow browser tab you were on before this one — the tab marked 1️⃣ by Tab Markers (Pro). The recent-tab trail is per browser window and only includes ServiceNow tabs. |
/rnd | Fill visible form fields with random test values. Use /rnd -a to fill all fields including hidden ones, or /rnd -xss to fill with XSS test payloads for security testing. |
/tt | Toggle between Polaris Dark and Light theme. Switches the Next Experience (Polaris) UI theme without going through settings. |
/s2 | Toggle Select2 enhanced dropdown for the Application and Update Set picker in the banner. Replaces the default dropdowns with searchable Select2 widgets. |
/hpt | Header Pickers Toggle — show or hide the App/Update Set pickers on the current instance without flipping the global setting. Lets you keep them on in dev/test and off in production. Same effect as clicking the hover-× on the pickers. |
/itt | Toggle the Instance Tag display on/off. Instance Tags are colored labels shown in the browser tab and header to help identify which instance you are working on (dev, test, prod). |
/token | Send the g_ck (CSRF) token to VS Code for Script Sync authentication. Used during Script Sync setup to establish a trusted connection between the browser and VS Code. |
Data & Record Commands
| Command | Description |
|---|---|
/xml | Open the current record in raw XML view. Shows the full XML representation of the record including all field values and metadata. Requires being on a form with a table and sys_id. |
/xmlsrc | Open the current record's XML using the browser's built-in View Source viewer. Same XML content as /xml but rendered in the browser's native source viewer with syntax highlighting. |
/json | Open the current record in JSONv2 view. Shows the record data as a JSON object. Useful for API debugging or inspecting field values programmatically. |
/vd | View data of the current record in a formatted overlay. Shows all field names, values, and types in a readable table. Use /vd -p to open in a popup window instead. |
/csdm | Open CSDM Lens for the current record, or CSDM Overview when no record is active. Available during Public Beta, then Pro. Includes entity/domain guidance, instance signals, deep links, field evidence, and relevant CMDB relationships. |
/crn | Copy Record to New — opens a new record form in a new tab pre-populated with all visible field values from the current record. System fields, number, and scope are excluded. Useful for duplicating records. |
/versions | Show the version history (sys_update_version) of the current record. Lists all captured versions ordered by most recent, useful for tracking changes to configuration records like Business Rules or Client Scripts. |
/diff1 | Send the current record's XML to the left side of the SN Utils diff viewer. First step in comparing two records. |
/diff2 | Send the current record's XML to the right side of the SN Utils diff viewer. Opens the diff tab showing a side-by-side comparison with the record previously loaded via /diff1. |
/diffenv instance | Compare the current record's XML with the same record on a different instance. For example /diffenv dev fetches the record from the dev instance and shows a side-by-side diff. You must be logged into both instances. |
/link | Copy the current saved record or filtered list as a named clickable hyperlink (Pro). Rich-text destinations receive the hyperlink; plain-text destinations receive its label and short canonical URL. On any other page (a dashboard, portal page, or admin console) it copies the page URL labelled by the browser tab title. |
/copycells | Copy the values of currently selected cells in a list view to the clipboard. Use /copycells -s to copy sys_ids instead of display values. Select cells by clicking while holding Ctrl/Cmd. |
/copycolumn | Copy all values from the currently selected column in a list view to the clipboard. Use /copycolumn -s to copy sys_ids. Useful for extracting a column of data for use in spreadsheets or scripts. |
Sidekick (PiP Tools)
| Command | Description |
|---|---|
/sidekick or /sk | Open the Sidekick tools overview — a Picture-in-Picture panel that floats over ServiceNow, giving quick access to all Sidekick tools: Log Viewer, Form Analyzer, Client State, Session Inspector, URL Doctor, and AI. |
/sklog filter | Open Sidekick Log Viewer — a real-time streaming syslog viewer in a PiP panel. Optionally pass a filter term to auto-filter log entries. Shows system logs as they happen without refreshing. |
/skform | Open Sidekick Form Analyzer — shows all UI Policies, Client Scripts, Business Rules, and ACLs that apply to the current form. Helps understand what automation and security rules are active on a record. |
/skrl | Open Sidekick Form Analyzer with the Related Lists tab. Shows all related lists configured on the current form and their record counts. |
/skclientstate | Open Sidekick Client State viewer — shows the live Next Experience (Polaris) client-side state in real-time. Useful for debugging UI Builder pages and workspace components. |
/sksession | Open Sidekick Session Inspector — view current session data including user roles, properties, and session variables in a PiP panel. |
/skurl | Open Sidekick URL Doctor — parse the current page URL into its components and edit parameters. Useful for understanding and modifying complex ServiceNow URLs with encoded queries. |
/ai or /skai | Open Sidekick AI — an AI assistant with full ServiceNow context awareness. Can help with scripting questions, explain code, analyze form configuration, and more. Requires a Pro license. |
SN Utils Management
| Command | Description |
|---|---|
/manage or /settings | Open the SN Utils extension settings page. Configure preferences, keyboard shortcuts, instance tags, and all extension features. |
/newcmd | Open the Commands tab on Manage with a blank editor ready. Add input after the shortcut and it's routed to the right field: a URL (/newcmd incident_list.do?sysparm_query=active=true), a script (/newcmd javascript:… or /newcmd (function(){…})()), a bare fields list (/newcmd number,short_description,priority), or an encoded query (/newcmd active=true^priority=1) lands in the matching editor field. Natural-language input (/newcmd open the caller's user record in a new tab) lands in the description and, on Pro, the AI Builder generates the command with the current page as context. |
/newsnip | Open the Snippets tab on Manage with a blank snippet editor ready. Add a description (/newsnip GlideAggregate counting incidents by category) and on Pro the AI Builder fills in the snippet (name, prefix, category, context, code); on the Free plan the description is prefilled so you have a starting point for writing it yourself. |
/usage | Open the SN Utils Usage Statistics page. View how you use SN Utils — which commands you run most, time saved, and feature adoption metrics. |
/help | Open the Slash Commands documentation page on snutils.com. Quick access to the full command reference and examples. |
Service Portal Commands
| Command | Description |
|---|---|
/spw searchterm | Search Service Portal Widgets (sp_widget) by name. For example /spw ticket shows widgets matching "ticket". Selecting a result opens the widget directly in the Service Portal widget editor. |
Built-in Switches
Switches are flags added after a command to modify behavior. Example: /p ui.session -s -p
Filter Switches
| Switch | Description |
|---|---|
-a | Active is true |
-s | Current scope |
-m | Updated or created by me |
-um | Updated by me |
-cm | Created by me |
-ut | Updated today |
-ct | Created today |
-uct | Updated or created today |
URL & Display Switches
| Switch | Description |
|---|---|
-p | Keep filter pinned |
-f | Filter only (open filter bar pinned) |
-pf | Use Polaris = false |
-pi | Pop In -- open in full UI |
Sort Switches
| Switch | Description |
|---|---|
-ou | Order by updated descending |
-oc | Order by created descending |
-ga | Group count ascending |
-gd | Group count descending |
Action Switches
| Switch | Description |
|---|---|
-t | View table structure |
-n | New record |
-r | Open random record |
-ra | REST API Explorer |
-c | Table config |
-erd | View schema map |
Time Switches
Dynamic syntax: -<type><number><unit>
Types: u updated, c created, uc updated or created, um updated by me, cm created by me
Units: s seconds, m minutes, h hours, d days, w weeks, M months, q quarters, y years
| Example | Description |
|---|---|
-u5d | Updated in last 5 days |
-c3h | Created in last 3 hours |
-uc15m | Updated or created in last 15 minutes |
-um1w | Updated by me in last week |
Inline Field Filters
Use -field:value to filter any field by "contains" without defining a custom switch.
| Example | Description |
|---|---|
-name:david | Name contains "david" |
-short_description:vpn | Short description contains "vpn" |
-assigned_to:admin | Assigned to contains "admin" |
Works both headless (/-name:david) and with table commands (/sys_user -name:david -a).
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+1 / Cmd+1 | Activate Extension (open slash command popup) |
Ctrl+2 / Cmd+2 | Pop In / Pop Out |
Ctrl+3 / Cmd+3 | Show Technical Names |
Ctrl+4 / Cmd+4 | Run /shortcut command |
Ctrl+V | Paste screenshot (on forms) |
Ctrl+S | Save record |
| Double-click label | Toggle Technical Names |