Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Using of VS Code for Service Now Scripting

Sagar Rd
Tera Contributor

HI All,

 

I was trying to use the VS code App to work on the service now scripting, so I have used the "ServiceNow Extension for VS Code" properly configured to the PDI able to run the back ground script and also create the BR, Script include everything. But when I tried to connect my office dev instance its connect able to create BR, Script Includes all push and pull of the scripts, but unable to run the background script - Only getting the error as "Error in executing script". Could any please help me what might be missing if there are any properties need to enabled something, please let me know.

 

Thank you

1 REPLY 1

GlideFather
Tera Patron

Hi @Sagar Rd

 

i am using the SN Utils extension by @Arnoud Kooi.

 

Check these links:

https://www.arnoudkooi.com/
https://marketplace.visualstudio.com/items?itemName=arnoudkooicom.sn-scriptsync

It's supported for many browsers (I use and recommend Brave, fast, secure and no ads on default) and once installed, then go to the extension and enable this second checkbox. Then install an extension in VSC and follow the steps as per the second link above.

Screenshot 2026-03-13 at 20.43.30.png¨

Let me know if that worked for you

 

EDIT: edits made below - added a gif:

sn-scriptsync.gif

 

_____
100 % GlideFather experience and 0 % generative AI