Slash Commands
Navigate ServiceNow faster with customizable slash commands. Install marketplace packs or create your own personal commands.
Slash commands let you quickly navigate to any page in ServiceNow by typing a simple command in the omnibox. SN Utils Pro lets you manage your commands in the cloud and sync them across all your devices.
Overview
| Feature | Description |
|---|---|
| Personal Commands | Create custom commands for your specific workflows |
| Marketplace Packs | Install curated command packs for ServiceNow solutions |
| Cloud Sync | Your commands sync across all activated devices |
| Variables | Use $0, $1, $sysid, $table in command URLs |
Using Slash Commands
Basic Usage
- Open the SN Utils omnibox (default:
Ctrl+SpaceorCmd+Space) - Type
/followed by 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 |
$encodedquery | Current list's encoded query |
* | Wildcard for inline search |
Personal Commands
Create custom commands tailored to your workflow and they'll sync across all your devices.
Creating a Command
- Go to Home → Slash Commands in your Pro dashboard
- Click Add Command
- Fill in the form:
- Command: The trigger word (e.g.,
myinc) - URL: The ServiceNow URL with variables
- Hint: Description shown in the command list
- Fields: (Optional) Fields for inline search
- Display Order: Controls sort order
- Command: 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 the Slash Commands page:
- Click the pencil icon to edit a command
- Click the trash icon to delete a command
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
- Go to Home → Slash Commands → Marketplace
- 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
- Go to the Slash Commands page
- 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 omnibox.
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 omnibox 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