The VSCode extension "iKosak Sync Now" synchronizes records with ServiceNow instances. Sync is done via REST protocol. Start syncing NOW records to the hard drive just after installing the extension. No other programs are required.
Synced records are being saved as files in folder ./src. You can edit them and upload back to instance via CMD+k+j(or CTRL+k+j for Windows) shortcut.
Features
Work on records from ANY scope (including Global)
Synchronize NOW records to files on the hard drive
Upload records to NOW via shortcut (CMD+k+j)
Select a code snippet to execute it on server, get a prompt result in a new window (CMD+k+p)
Easy to use YAML configuration file
Shows diffs if record has been changed on instance since pulled
Check if the record being uploaded belongs to same scope as current Update Set
Create an empty folder to sync with a NOW instance. Open this folder in VSCode.
Search for the command "Login to instance" to launch the extension and start authentication.
Once entered login data, check the config located at ./snconfig/syncconfig.yaml to define tables, queries, naming of the files to be synced. Default config includes most useful data for a developer.
Click on instance name in bottom left corner of VS Code to start pulling data.
Search for a file in ./src folder. For example, press CMD+p and search for "Caller Close" to find the Business rule "Caller Close" on incident table.
Once edited a file, use CMD+k+j (or Ctrl+k+j) shortcut to upload the updated record to the instance.
FAQ
I have created a new record in NOW. How do i get it to the editor?
You should use the Pull a table command and select the table you want to re-sync.
Why i cannot push the record to NOW?
There could be several reasons:
You have no internet
The record you are trying to edit is secured by system