ServiceNow Data Actions
Overview
Section titled “Overview”Purpose
Section titled “Purpose”This document describes how ServiceNow Data Actions are configured to work in Genesys Cloud.
Prerequisites
Section titled “Prerequisites”- Access to Genesys Cloud Data Actions
- Admin access to ServiceNow
- Ability to create or modify entries in ServiceNow → Application Registry
Configuration Steps: ServiceNow
Section titled “Configuration Steps: ServiceNow”Create the OAuth Application
Section titled “Create the OAuth Application”- Go to Application Registry
- Click ‘New’
- Select ‘Create an OAuth API endpoint for external clients’
- Configure:
- Name: Genesys Cloud - Data Actions -
ORG - Redirect URL:
https://maximusca{instance}.service-now.com/oauth_redirect.do - Client Type: Integration as a Service
- OAuth Application User: A system user with
Internal Integration Userenabled - Auth Scopes:
useraccount
- Name: Genesys Cloud - Data Actions -
- Submit
- Once submitted, Client Secret should autopopulate
Configuration Steps: Genesys Cloud
Section titled “Configuration Steps: Genesys Cloud”Create Web Services Data Actions
Section titled “Create Web Services Data Actions”- In Genesys Cloud, go to IT and Integrations > Integrations > Add integration > Install Web Services Data Actions
- Configure Details:
- Name: Web Services Data Actions - ServiceNow
instance
- Name: Web Services Data Actions - ServiceNow
- Configure Configuration > Credentials
- Credential Type: User Defined (OAuth)
- Add Credential Fields:
- loginUrl: Redirect URL from the Application Registry created in ServiceNow
- clientId: Client ID from the Application Registry created in ServiceNow
- clientSecret: Client Secret from the Application Registry created in ServiceNow
- Confirm
Validation
Section titled “Validation”- Go to IT and Integrations > Data Actions. Click the
Web Services Data Actions - ServiceNow {instance} (Auth)action - Go to Setup > Test > click Run Test
- If the output is a success, then the integration was properly configured
Troubleshooting Notes / Observations
Section titled “Troubleshooting Notes / Observations”Issue: “User Not Authenticated”
Section titled “Issue: “User Not Authenticated””Causes:
Section titled “Causes:”- Incorrect Request URL Template in data action
- OAuth Integrated User doesn’t have proper permissions
- OAuth scope not defined