script-execution

Installation
SKILL.md

Script Execution

Overview

This skill covers safe and effective execution of background scripts in ServiceNow®:

  • Script execution through the Scripts - Background processor (/sys.scripts.do)
  • Record rollback, scope selection, and handling of unknown outcomes
  • Safe script patterns and templates
  • Fix script generation for manual execution
  • Error handling and logging best practices
  • Debugging and troubleshooting techniques

When to use: When MCP tools don't support the required operation, or when complex data manipulation is needed.

Who should use this: Administrators and developers who need to execute server-side JavaScript in ServiceNow.

Prerequisites

Installs
43
GitHub Stars
41
First Seen
Apr 29, 2026