Run GlideScript on the instance from your terminal.
| Command | What it does |
|---|---|
jsn dev eval --script 'gs.info("hello");' | Execute on the instance, session + CSRF handled |
$ jsn dev eval --script 'gs.info("hello");'
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Default update set in scope [x_8821_test]
Changes are contained to this scope, but a named
update set is still recommended for tracking.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Script executed ⚠️ Records without explicit sys_scope will land in global. Use $scopeSysId variable.
→ eval: jsn eval --script '...' — Execute a background script on the ServiceNow instance
Install, point it at your instance, then run this feature.
$ npm install -g @jacebenson/jsn $ jsn setup $ jsn dev eval --script 'gs.info("hello");'Full setup guide & skill docs →