Slash Commands
Navigate ServiceNow faster with customizable slash commands. Install marketplace packs or create your own personal commands.
Last updated: January 9, 2026
Slash commands let you quickly navigate, search, and run ServiceNow actions from the SN Utils slash palette. Create custom URL and Script commands from the Manage page, then use Pro features such as cloud sync, marketplace packs, Team Space sharing, and AI-assisted command creation when you need connected workflows.
Overview
| Feature | Description |
|---|---|
| Built-in Commands | Navigate to common ServiceNow tools, tables, docs, and utilities |
| Custom Commands | Create URL or Script commands from Manage > Commands or /newcmd |
| Marketplace Packs | Install curated command packs for ServiceNow solutions |
| Cloud Sync & Sharing | Sync commands across activated devices and share useful commands with your team |
| Variables & Helpers | Use $0, $1, $sysid, $table, $encodedquery, $ext/, and script helpers |
Using Slash Commands
Basic Usage
- Open the SN Utils slash palette (recommended:
ALT-/on Windows/Linux,CTRL-/on Mac) - Type your command
- Press Enter to navigate
For example:
/inc— Opens the incidents list/incn INC0012345— Opens incident INC0012345/kb password reset— Searches knowledge articles
URL Variables
Commands support dynamic variables that get replaced when you execute them:
| Variable | Description |
|---|---|
$0 | The entire text after the command |
$1, $2, etc. | Individual words from your input |
$sysid | Current record's sys_id |
$table | Current record's table name |
$TableName | PascalCase form of the table name for use as a JS identifier (e.g. Incident, SysUser) |
$encodedquery | Current list's encoded query |
* | Wildcard for inline search |
Custom Commands
Create custom commands tailored to your workflow. With sync enabled, they stay available across your devices.
Creating a Command
- Open the Manage page (gear icon in the popup header, or
/manage) - Go to the Commands tab
- Click New Custom and choose Start Blank or Prefill from Open Tabs
- Fill in the form:
- Name: The trigger word (e.g.,
myinc) - Hint / Description: Text shown in the command list and editor
- Action: A URL command or a Script command
- Fields: Optional fields for inline search results
- Overwrite target URL: Optional alternate link for selected inline results
- Order: Values below 100 keep important commands near the top
- Name: The trigger word (e.g.,
Example Commands
Open my assigned incidents:
Command: myinc URL: incident_list.do?sysparm_query=assigned_to=javascript:gs.getUserID()^active=true Hint: My assigned incidents
Search users:
Command: user URL: sys_user_list.do?sysparm_query=nameLIKE$0^ORuser_nameLIKE$0 Hint: Search users <name> Fields: name,user_name,email
Go to current record's form:
Command: form URL: $table.do?sys_id=$sysid Hint: Open current record in form view
Editing & Deleting
From Manage > Commands:
- Search for a command and click it to edit
- Select a built-in, pack, or legacy command and click Save as Custom to create your own editable copy
- Click Delete to remove a custom command
You can also type /newcmd from the slash palette to open the Commands tab with a new command ready. Add input after it, such as /newcmd javascript:g_form.save() or /newcmd incident_list.do?sysparm_query=active=true, and SN Utils routes it to the matching editor field. Natural-language prompts use the Pro AI Builder when available.
Marketplace Packs
Marketplace packs are curated collections of commands for specific ServiceNow solutions, created by the SN Utils team.
Available Packs
| Pack | Description | Commands |
|---|---|---|
| ITSM Essentials | Incident, Problem, Change, Request management | 15 |
| ITOM Operations | CMDB, Discovery, Events, MID servers | 15 |
| Customer Service | Cases, Accounts, Contacts, Entitlements | 10 |
| HR Service Delivery | HR Cases, Profiles, Lifecycle Events | 11 |
| Performance Analytics | Dashboards, Indicators, Widgets | 10 |
| Security Operations | Security Incidents, Vulnerabilities | 10 |
| Developer Tools | Flows, REST Messages, Transform Maps | 15 |
| Service Catalog | Catalog Items, Categories, Variables | 10 |
Installing a Pack
- Open Manage > Commands
- Browse available packs or filter by category
- Click View to preview the commands in a pack
- Click Install to add it to your commands
Updating Packs
When a pack has updates available:
- You'll see an Update available badge on the installed pack
- Click Update to get the latest version
- Your existing personal commands won't be affected
Uninstalling Packs
- Open Manage > Commands
- Find the pack in your Installed Packs section
- Click the trash icon to uninstall
Command Priority
When you have multiple commands with the same trigger, they're resolved in this order:
- Personal commands (highest priority)
- Pack commands (installed packs)
- Built-in commands (lowest priority)
This means your personal commands always override pack and built-in commands.
Inline Search
Commands with the fields property support inline search results directly in the slash palette.
How It Works
- Type your command with a search term:
/inc network - Results appear inline as you type
- Use arrow keys to select a result
- Press Enter to navigate to the selected record
Setting Up Inline Search
When creating a command, add:
- Fields: Comma-separated list of fields to display (e.g.,
number,short_description) - Overwrite URL: (Optional) Alternative URL when clicking results
Syncing Commands
Commands sync automatically when you:
- Create, edit, or delete a personal command
- Install or uninstall a pack
- Activate the extension on a new device
The extension checks for updates periodically and when you open a new ServiceNow page.
Troubleshooting
Commands Not Working
- Ensure you're on a ServiceNow page
- Check that the slash palette is opening (try the keyboard shortcut)
- Verify the command exists in your list
- Check for typos in the command trigger
Sync Issues
If commands aren't syncing:
- Check your internet connection
- Verify your license is active
- Try refreshing the page
- Sign out and back into the extension
"Command not found"
This means no command matches your input:
- Check spelling of the command
- View your command list to see available commands
- Try installing a marketplace pack for that feature
Best Practices
Naming Conventions
- Use short, memorable triggers:
inc,chg,kb - Add prefixes for related commands:
incmy,incn,incall - Use lowercase for consistency
Organizing Commands
- Set display order to group related commands
- Use hints to describe what each command does
- Delete commands you no longer use
URL Tips
- Use
$0for flexible search queries - Add
^ORDERBYDESCsys_updated_onto sort by recent updates - Use
javascript:gs.getUserID()for "my" queries