ScriptSync (VS Code)
Edit ServiceNow scripts in VS Code with real-time sync, AI agent support, and a file-based API — no copy-pasting between browser and editor.
Last updated: January 24, 2026
Last updated: January 24, 2026
ScriptSync connects your ServiceNow instance to VS Code, letting you edit scripts in a full-featured IDE. Changes sync in real-time — save in VS Code, see the update in ServiceNow immediately (and vice versa).
With version 4.0, ScriptSync adds native AI coding assistant support — changes made by Cursor, GitHub Copilot, Windsurf, or any tool that modifies files on disk are automatically detected and synced to ServiceNow.
ScriptSync works with any script field in ServiceNow: Business Rules, Client Scripts, UI Actions, Script Includes, Scheduled Jobs, and more.
Files are stored in a clean, organized structure:
instancename/scopename/tablename/recordname.field.extension
For example: myinstance/global/sys_script_include/MyUtils.script.js
Tables like sp_widget get their own folder with multiple files per widget (HTML, CSS, client script, server script).