Saved query snippets — jsn

Save a table query locally and run it again against the active profile.

What can JSN do for this ServiceNow workflow? Save a table query locally and run it again against the active profile. JSN gives you a direct terminal workflow instead of requiring the ServiceNow web interface for every inspection or change.
CommandWhat it does
jsn snippets save docs-open-inc --table incident --query 'active=true'Save a named query locally
jsn snippets run docs-open-incRun the saved query against ServiceNow
jsn snippets save
jsn snippets save docs-open-inc \
    --table incident \
    --query 'active=true' \
    --json

Saved snippet "docs-open-inc"
▼ next screen
jsn snippets run docs-open-inc --profile pdi --json

20 record(s) from incident (snippet "docs-open-inc")
Query: active=true

Get started

Install, point it at your instance, then run this feature.

npm install -g @jacebenson/jsn
jsn setup
jsn snippets save docs-open-inc --table incident --query 'active=true'
Full setup guide & skill docs →

← All features