This integration will connect an Arduino to a computer. An application on the computer will consume web service which will check ServiceNow for Critical (P1) incidents in a New status.
This integration will connect an Arduino to a computer. An application on the computer will consume web service which will check ServiceNow for Critical (P1) incidents in a New status.
If the web service returns an incident, an LED attached to the Arduino will light up red. A user can hit a button which will temporarily light up the LED blue and assign the incident to Fred Luddy in the CAB Approvers group.
- Download and install the Arduno IDE: http://arduino.cc/en/main/software
- Download and install Node.JS: https://nodejs.org/download/
- Download and extract the Zip (the button on the right side of this). Extract to your user directory.
- Install NODE modules.
- Open a command prompt/terminal
- Type this and hit enter: npm install
|
![]() |
- In your preferred text editor open config.js (it is one of the files in the Zip file).
- Update the instance URL with your instance name
- Update username and password with an Admin username and password.
- Update the serialport variable. You will find this by opening the Arduino IDE, going to Tools -> Port. It will say something like "/dev/tty.usbmodem1451 (Arduino Uno)" or "COM4 (Arduino Uno)". In this example, the com port is "/dev/tty.usbmodem1451" or "COM4"
- Save the file.
- Log in to your ServiceNow instance
- Update the web services properties (go to System Web Services -> Properties)
- Set following check boxes to "Yes" leave all other unchecked
- Require authorization for incoming RSS requests
- Require basic authorization for incoming SOAP requests
- Require authorization for incoming WSDL requests.
- Use unique targetNamespace for WSDL definition.
- After confirming you do not have any unassigned, P1 incidents in a "new" status, on your instance.
- Open the command prompt/terminal.
- type "node arduino".
- In your ServiceNow instance, create a new, unassigned, P1 instance.
- Wait for the light connected to the Arduino to turn red (it should be just a few seconds after you save the incident)
- Push the button. The light on the arduino will turn blue.
- Go back to your ServiceNow instance. Confirm that the incident as been assigned.