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

FeatureDescription
Personal CommandsCreate custom commands for your specific workflows
Marketplace PacksInstall curated command packs for ServiceNow solutions
Cloud SyncYour commands sync across all activated devices
VariablesUse $0, $1, $sysid, $table in command URLs

Using Slash Commands

Basic Usage

  1. Open the SN Utils omnibox (default: Ctrl+Space or Cmd+Space)
  2. Type / followed by your command
  3. 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:

VariableDescription
$0The entire text after the command
$1, $2, etc.Individual words from your input
$sysidCurrent record's sys_id
$tableCurrent record's table name
$encodedqueryCurrent 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

  1. Go to HomeSlash Commands in your Pro dashboard
  2. Click Add Command
  3. 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

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

PackDescriptionCommands
ITSM EssentialsIncident, Problem, Change, Request management15
ITOM OperationsCMDB, Discovery, Events, MID servers15
Customer ServiceCases, Accounts, Contacts, Entitlements10
HR Service DeliveryHR Cases, Profiles, Lifecycle Events11
Performance AnalyticsDashboards, Indicators, Widgets10
Security OperationsSecurity Incidents, Vulnerabilities10
Developer ToolsFlows, REST Messages, Transform Maps15
Service CatalogCatalog Items, Categories, Variables10

Installing a Pack

  1. Go to HomeSlash CommandsMarketplace
  2. Browse available packs or filter by category
  3. Click View to preview the commands in a pack
  4. Click Install to add it to your commands

Updating Packs

When a pack has updates available:

  1. You'll see an Update available badge on the installed pack
  2. Click Update to get the latest version
  3. Your existing personal commands won't be affected

Uninstalling Packs

  1. Go to the Slash Commands page
  2. Find the pack in your Installed Packs section
  3. Click the trash icon to uninstall

Command Priority

When you have multiple commands with the same trigger, they're resolved in this order:

  1. Personal commands (highest priority)
  2. Pack commands (installed packs)
  3. Built-in commands (lowest priority)

This means your personal commands always override pack and built-in commands.

Commands with the fields property support inline search results directly in the omnibox.

How It Works

  1. Type your command with a search term: /inc network
  2. Results appear inline as you type
  3. Use arrow keys to select a result
  4. Press Enter to navigate to the selected record

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

  1. Ensure you're on a ServiceNow page
  2. Check that the omnibox is opening (try the keyboard shortcut)
  3. Verify the command exists in your list
  4. Check for typos in the command trigger

Sync Issues

If commands aren't syncing:

  1. Check your internet connection
  2. Verify your license is active
  3. Try refreshing the page
  4. Sign out and back into the extension

"Command not found"

This means no command matches your input:

  1. Check spelling of the command
  2. View your command list to see available commands
  3. 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 $0 for flexible search queries
  • Add ^ORDERBYDESCsys_updated_on to sort by recent updates
  • Use javascript:gs.getUserID() for "my" queries