Workday REST (WQL) to JSM Assets
Workday REST (WQL) to JSM Assets
Use this guide to import Workday data into JSM Assets through OnLink using Workday Query Language (WQL). WQL is an alternative to Workday custom reports and can be used as an OnLink data source through the Workday REST API.
Before you begin: Workday REST API access is different from SOAP and RaaS connections. Configure a Workday REST API client in your Workday tenant before creating the OnLink connection.
Overview
The setup has three parts:
Configure a Workday REST API client and Integration System User in Workday.
Create and test a Workday REST connection in OnLink.
Create an Assets import and provide the WQL-specific configuration values.
Prerequisites
In your Workday tenant, complete the following setup steps:
Create an Integration System User.
Register an API Client for Integrations.
Add the relevant security groups to the Integration System User.
Grant Workday Query Language security group permissions to the Integration System User.
For detailed Workday instructions, see Workday REST API client configuration.
Step 1: Configure the Workday REST connection in OnLink
In OnLink, go to Connections.
Select Add System.
Select Other Asset Sources.
Choose Workday REST.
In the connection attributes, provide the following values:
OAuth Token URL
Client ID
Client Secret
Refresh Token
Save the connection.
Use More → Test to confirm the connection is successful.
Step 2: Create an Assets import
Follow the standard Assets import setup instructions to create a new import. After the import is created, add the Workday REST configuration values described below.
Step 3: Configure WQL import settings
Key or Map | Description |
|---|---|
| Set this to the Workday WQL API endpoint. For most worker WQLs, use: config:api=ccx/api/wql/v1/<your_tenant_name>/data |
| Set this to the WQL query that returns the records you want to import. Example: config:data_source=SELECT employeeID as id, firstName as fn, lastName as ln FROM indexedAllWorkers (dataSourceFilter = indexedAllWorkersFilter, includeSubordinateOrganizations = false, isActive = false)Use the Workday WQL documentation to convert a custom report to WQL. |
| Optional. Limits the number of users pulled from Workday. Use this for initial testing before running a full import. |
Validation checklist
config:api and config:data_source.config:max_loops=1 is removed or adjusted before production import.Troubleshooting
Issue | What to check |
|---|---|
Connection test fails | Confirm the OAuth Token URL, Client ID, Client Secret, and Refresh Token are correct. |
WQL query returns no data | Verify the query syntax, tenant name, data source filter, and Workday security permissions. |
Only a small number of users import | Check whether |