Service Now
Flow overviewβ
Torque has a built-in integration with Service Now for approval flow. If your organization is using Service Now for ITSM, you can configure the integration and perform your approval flow through your Service Now portal.
Prerequisitesβ
In order to configure the ServiceNow integration, you will need to have the Torque Integration XML file. Please contact Torque Support to get this file.
1. Install the ServiceNow Torque Applicationβ
- In Service Now, Go to ->
Retrieved Update Sets
- In the bottom, there is a link:
Import Update Set from XML
click it, and choose the file you received from Torque support. - Select the record and press on
Preview Update Set
and thencommit
2. Create a service user for Torqueβ
- In Service Now, Create a dedicated user for Torque integration. This user does not need any special permissions in ServiceNow, just to be able to login to the system.
- Take note of the username and password of this user, you will need this information in the next steps.
3. Approval Channel Configurationβ
In Torque:
- You will need a user in Toruqe that will be the approver for the approval channel. Note, currently only one approver can be assigned to each approval channel. The user can be one of your existing users, or a new one which can serve as a service user. This user does not have to be a real user in Torque, it is just a user for the purpose of this integration. This user needs to be a member of the space(s) where you want these approvals to be created. To create a new user you should invite the new user via email.
- Log in to the Torque UI as the approver user from step 1, and create an API token. See Generating a new Torque API Token . Take note of the generated Token.
In ServiceNow:
- Update Torque API token : Go to
sys_properties.list
and updateTorque_Token
with the value of the generated API token. - Update Torque Base URL Go to
Connection & Credential Aliases
and click onTorque
- Add a new connection by clicking the
New
button: - In case you have a connection just edit the record with the correct URL:
- Update Torque API token : Go to
In Torque:
- Navigate to
Administration
->Approval Channels
- On the top right corner, click on
Add Channel
. - Fill a name and description of your choice and click on the ServiceNow icon.
- Fill the following details:
- ServiceNow address URL - your base service now tenant URL. For example: https://mytenant.service-now.com/
- Username - The Torque dedicated ServiceNow user which you created in Step 2
- Password - The Torque dedicated ServiceNow password of the same user
- Approvers - the Torque approver user which you selected/created in step 3.1. It must be the same user to which the Torque token belongs.
- Navigate to
In ServiceNow: Review Approval Flow template
- Go to
Flow Designer -> Flows
and select type in the searchbox for βTorque Requestβ. - Select it and configure approvers under
Ask for Approval
action:
- Go to
The approvers don't have to be Torque users.
In ServiceNow: View approval flow
- Go to
Flow Designer -> Executions
and select the relevant executed flow:
- Go to
tip
You can create multiple approval channels for service now, each can have different approvers for different spaces. Repeat the configuration steps for each channel.