1.0.4 • Published 2 years ago
snget v1.0.4
snGet
A utility to export & import ServiceNow records from one instance to another.
Setup from ZIP file
- Download ZIP file
- Extract ZIP
- Open snget folder in VS Code
npm iin integrated Terminal- Rename or copy .env.example to .env
- Update the target and source variables as needed
- Run in the terminal
node app.js - Enter table:
incident - Enter encoded query:
sys_id=A1234567890 - Check the target instance to make sure the records have inserted or updated based on your encoded query
Setup from GitHub
- Clone repo
- Browse to the repo directory in the terminal
cd snget - Install dotenv dependency using
npm i - Rename or copy .env.example to .env
- Update the target and source variables as needed
- Run in the terminal
node app.js - Enter table:
incident - Enter encoded query:
sys_id=A1234567890 - Check the target instance to make sure the records have inserted or updated based on your encoded query
Setup from NPM
npm i snget- Move the snget folder out of node_modules and into the project root directory
- Move the node_modules folder into the snget folder
- Change to the snget directory in terminal
- Rename or copy .env.example to .env
- Update the target and source variables as needed
- Run in the terminal
node app.js - Enter table:
incident - Enter encoded query:
sys_id=A1234567890 - Check the target instance to make sure the records have inserted or updated based on your encoded query
This is temporary until I publish a better solution for NPM