-
Notifications
You must be signed in to change notification settings - Fork 8
Get Started
Richard Szolár edited this page Jan 29, 2020
·
1 revision
- Get a dev instance at the Developer portal or use an existing one which you have ready.
- Load the Scoped App to the studio. The repository is public, so you do not need any access credentials for cloning
- Download the zip of the Node VM
- Read and configure your docker-compose.yaml
- Download and install Docker Compose on your pc. For more info visit the Install guide
- Put the docker-compose.yaml file into the repository root of the Node VM you just downloaded
- To run the Node VM just type
docker-compose up
in the folder where you have thedocker-compose.yaml
- Now you will have to setup the endpoint of your Node VM on the Servicenow Instance
- Search for "Bridge Configuration" or open this link
https://instancename.service-now.com/system_properties_ui.do?sysparm_category=SNC%20Node%20Bridge%20Configuration&sysparm_domain_restore=false&sysparm_stack=no&sysparm_title=SNC%20Node%20Bridge%20Configuration
- If you are running this locally, you may need a tool to expose your local enviroment to the public. For example you can use the free version of ngrok
- You need to setup the url of the sys_property correctly with an ending trailing slash
- Now you can write a script under the "Bridge Scripts"
- You may want to look at the Postback functions to post back a result to your instance
- Happy scripting and let me know how does this work for you
PS: In case of any doubt, feel free to ask. I will try to lead you to in the right direction and provide help if I can.
Servicenow x NodeJS @ 2019