Configurations to use Workday HR SOAP OAuth
Configure your ServiceNow instance to perform Workday HR SOAP based actions with OAuth 2.0.
Note: If you are migrating from basic auth to OAuth 2.0 for SOAP based actions, ensure to remove the basic authentication configurations before the migration.
Generate client ID and client secret for Workday HR spoke
Register Workday HR spoke as the API client in your Workday account and generate client ID, client secret.
Before you begin
Role required: admin
Procedure
Log into your Workday tenant.
Navigate to Search and enter
Register API Client for Integrationstask.
Search for Register API Client for Integrations task in Workday
On the Register API Client for Integrations form, fill in the details.
Field Description Client Name Client name of the app. For example, enter Workday HR spoke.Non-expiring Refresh Tokens Option to enable refresh tokens that do not expire. Scope (Functional Areas) Select the required functional areas. Include Workday Owned Scope Option to select Workday owned scope.
Fields in Register API Client for integrations screen
Click OK.
Client ID and Client Secret are generated after the registration is successful.
Client ID and client secret generated after API client registration
- Click the ellipsis button after the specified client name.
Navigating Manage Refresh Tokens for Integrations option
Select API Client >Manage Refresh Tokens for Integrations.
Select your Workday Account and click OK.
Delete or Regenerate Refresh Token screen displays.
Select Generate New Refresh Token option and click OK.
Refresh token generated in Workday account
Result
A new refresh token is generated. Copy and store the refresh token for configuring system property.
Configure system properties for Workday HR spoke
Configure the system properties to enable OAuth 2.0 for SOAP APIs based actions for Workday HR spoke.
Before you begin
- Generate client ID and client secret for Workday HR spoke
- Role required: admin
Procedure
Navigate to All > System Properties > All Properties.
In the Application column, search for
Workday HR Spoke.Open the sn_workday_hr_spke.glide.hub.clientid system property.
Enter the Client ID generated from the Workday account in the Value field and click Update.
Open the sn_workday_hr_spke.glide.hub.clientsecret system property.
Enter the Client secret generated from the Workday account in the Value field and click Update.
Open the sn_workday_hr.glide.hub.refreshtoken system property.
Enter the refresh token generated from the Workday account in the Value field and click Update.
Open the sn_workday_hr_spke.glide.hub.tokenurl system property.
Enter the token URL generated from the Workday account in the Value field and click Update.
Result
The required system properties are configured for the Workday HR spoke.
Provide the Workday HR base URL
Provide the base URL of your Workday HR instance in the Connection Details [connection_details] table. Spoke actions based on the SOAP API, use these details for the action execution.
Before you begin
Role required: admin.
Procedure
Navigate to All > Workday HR Spoke > Connection Details.
Click the Show List related list.
Click New.
On the form, fill these values.
Field Description Base URL Base URL of the Workday instance or tenant name. Enter the base URL in this format https://<workday_host_url>/ccx/service/<workday_tenant_name>Version Version of the API. For example, enter v33.2.Webservice Type Type of web service. Select SOAP.Click Save.