Workday REST (WQL) to JSM Assets

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:

  1. Configure a Workday REST API client and Integration System User in Workday.

  2. Create and test a Workday REST connection in OnLink.

  3. 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

  1. In OnLink, go to Connections.

  2. Select Add System.

  3. Select Other Asset Sources.

  4. Choose Workday REST.

  5. In the connection attributes, provide the following values:

    • OAuth Token URL

    • Client ID

    • Client Secret

    • Refresh Token

  6. Save the connection.

  7. Use More → Test to confirm the connection is successful.

image-20250501-141059.png

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.

image-20250501-141553.png

Step 3: Configure WQL import settings

Key or Map

Description

Key or Map

Description

config:api

Set this to the Workday WQL API endpoint. For most worker WQLs, use:

config:api=ccx/api/wql/v1/<your_tenant_name>/data

config:data_source

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.

config:max_loops=1

Optional. Limits the number of users pulled from Workday. Use this for initial testing before running a full import.

Validation checklist

Workday REST API client is registered.
Integration System User has the required security groups.
Workday Query Language permissions are assigned.
OnLink Workday REST connection is saved and tests successfully.
Assets import includes config:api and config:data_source.
Optional test limit config:max_loops=1 is removed or adjusted before production import.

Troubleshooting

Issue

What to check

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 config:max_loops=1 is still enabled from testing.