Connecting ServiceNow to Automate.io
There are two methods to connect ServiceNow to Automate.io.
Go to APPS in your dashboard. Click the blue ‘+’ button on the top-right. You will see a ‘Add a new app’ pop-up.
Search for ServiceNow in the search box. Select ServiceNow. You will see a window which prompts you to validate the app (see 'How to validate ServiceNow?' below).
While creating a Bot, you can directly connect ServiceNow either as a Trigger or an Action app. Refer to 'Connecting the Trigger app' or 'Connecting the Action app' in How to create a Bot.
How to validate ServiceNow?
In the window below, enter the App Name, Instance Username, Password, and URL. And click Validate. In the next window, click Save. ServiceNow will be successfully connected to Automate.io.
Image: Validate ServiceNow
See below to know how to get your Instance Username, Password, and URL.
What is an Instance?
An Instance is an environment for a user to work on the ServiceNow platform. Every Instance has a URL, Username, and Password.
How do I get my Instance URL, Username, and Password?
Your ServiceNow Instance URL, Username, and Password will be provided by your admin when he/she generates your ServiceNow user. Your Instance URL will look like - https://abc.service-now.com.
A ServiceNow instance goes into hibernation and will be subsequently reclaimed after a certain period of inactivity. In such a case, the connection between Automate.io and your Instance will be lost. To continue using ServiceNow with Automate.io, do the following:
1. Open your ServiceNow account and extend your instance.
2. Then, reconnect ServiceNow to Automate.io by going to the apps section in your dashboard. Here, click Re-connect the app on ServiceNow and authenticate the app like shown above.
For more information, see the Personal Developer Instance Retention and Activity section in the ServiceNow FAQs page.
Using ServiceNow with Automate.io
Now that the connection is successful, it’s time for the real fun—creating bots to automate your tasks. Learn how to create a Bot here. You will need to set up a trigger, and actions to do that. To learn what these terms mean, check out our Automate.io terminology page.
1. While selecting a table from the drop-down in my Bot, I'm getting an error which says 'Error: User not authorized'.
Solution: This means that you don't have sufficient permissions to access that table.
Suggestion: If you, as an Instance user, need to work with that table, ask your admin to either assign a role to you that gives you sufficient permissions or create a different user that gives you the necessary permissions.
2. I'm getting the following error while trying to turn my Bot ON.
Solution: To resolve this issue, you need to set the timezone for your ServiceNow Instance. Go to your Profile settings -> Timezone. Change it from System timezone to your specific timezone.