> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lumos.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Workday

> Connect the native Workday connector with an Integration System User and API client to sync workers and security groups and write back email and username.

> This article covers the native Workday connector. Lumos also offers a report-based connector, Workday RaaS (Report-as-a-Service), documented separately.

## After this article

You'll be able to connect Workday to Lumos and resolve common setup issues.

## Capabilities

| **Functionality** | **Type** | **Sync** | **Provision** | **Description** |
| - | - | - | - | - |
| Users | Account | Yes | Yes | Workers and Workday accounts synced via `Get_Workers`. Provisioning is limited to attribute write-back (work email, username) and requires the Modify/Put permissions above |
| Roles | Permission | Yes | No | Workday roles assigned to each worker. With **"Sync Org Scoped Roles"** on, Lumos also syncs each role and organization pair as a separate **Org Scoped Role** permission named `{role} - {organization}`, alongside the plain roles. A renamed role or organization shows its new name after the next full sync |
| Security Groups | Permission | Yes | No | User-based security group assignments synced as entitlements (requires User-Based Security Group Administration) |
| Integration System Users | Account | Yes | No | Optional. Requires the **Sync Integration Service Users** setting, the Integration Security permission, and the Integration functional-area scope. Lumos discovers ISUs from two sources: `Get_Integration_System_Users` (ISUs attached to an Integration System) and the `allWorkdayAccounts` WQL data source's **Is Integration User** flag, so ISUs that are not tied to an Integration System also sync. |

Custom attributes: Lumos can sync additional Workday fields via Integration Field Overrides. Prefix the field with `Lumos_Field_` and future syncs fetch it. This requires reaching out to Lumos Support and providing the **Integration System ID**. Lumos also optionally fetches these predefined overrides if they exist in your environment:

| **Workday Field Descriptor** | **Lumos Field Name** |
| - | - |
| Termination\_Date | termination\_date\_field\_override |
| Last\_Day\_Worked | last\_day\_worked |
| Is\_Manager | is\_manager |
| Manager Name | supervisory\_org |
| Department | override\_department |
| Job Family | override\_job\_family |
| Job Family Group | override\_job\_family\_group |

## Required plan and roles

There's no minimum plan required to connect the Workday integration.

To complete setup you need a Workday administrator who can create Integration System Users, create Security Groups, register API Clients, and activate pending security policy changes (i.e., access to the Security Configuration functional area).

It's **highly recommended** that you connect Workday to Lumos with a dedicated **Integration System User (ISU)** rather than a personal account. The ISU's Integration System Security Group must be granted the following Domain Security Policy permissions. **Ensure these are added as Integration Permissions, not Report/Task permissions:**

| **Permission Name** |
| - |
| Person Data: Name |
| Person Data: Work Contact Information |
| Worker Data: Workers |
| Worker Data: All Positions |
| Worker Data: Current Staffing Information |
| Worker Data: Public Worker Reports |
| Worker Data: Employment Data |
| Worker Data: Organization Information |
| View: Supervisory Organization |
| Worker Data: Business Title on Worker Profile |
| Worker Data: General staffing information |
| Worker Data: Active and terminated workers |
| Workday Accounts |
| User-Based Security Group Administration (Contact Lumos if you want to omit, required otherwise) |
| Security Configuration |
| Integration Security (**required for syncing ISUs, optional otherwise**) |
| Get and Put: Person Data: Personal Data (**required for updating username in Workday, optional otherwise**) |
| Get and Put: Person Data: Work Contact Information (**required for updating emails in Workday, optional otherwise**) |

Additional access for provisioning attributes (email, username) back to Workday:

1. Domain Security Policy **Modify** access to:
   * Person Data: Personal Data
   * Person Data: Work Contact Information
   * Workday Accounts
2. Domain Security Policy **Put** access to:
   * Person Data: Personal Data
   * Person Data: Work Contact Information
   * Workday Accounts
3. Business Process Security Policy: the security group must be added to the `Work Contact Change` policy (see Stage 3 below).

Permission scoping: if you only need read-only identity sourcing, you can skip the Modify/Put permissions and the `Work Contact Change` business process edit. They are only required for provisioning back to Workday. The Integration Security permission (and the Integration scope in Stage 4) are only required if you enable **Sync Integration Service Users**.

## Instructions

### Workday Steps

#### Stage 1: Create an Integration System User

1. Visit the *Create Integration System User* task in Workday (find it via the search bar).
2. Click the **Create Integration System User** button.
3. Enter a User Name (such as "Lumos-ISU") and create a strong password for the account.
4. Recommended: check **Do Not Allow UI Sessions** so the integration account cannot be used to log in interactively, then click **Ok**.

#### Stage 2: Add the Integration System User to a Security Group

1. Visit the **Create Security Group** task in Workday (find it via the search bar) and click **Create Security Group**.
2. In the **Type of Tenanted Security Group** dropdown, select **Integration System Security Group** and enter a name, such as "Lumos Security Group".
3. On the **Edit Integration System Security Group (Unconstrained)** page, enter the name of the ISU you created in Stage 1 (e.g. "Lumos-ISU"), then click **Ok**.

#### Stage 3: Set Policy Permissions

1. On the security group's **Domain Security Policy Permissions**, grant the read permissions from the table in **Required plan and roles** above (as Integration Permissions, not Report/Task), plus the Modify/Put permissions if you plan to provision back to Workday.
2. To allow email updates, add the integration's security group to the `Work Contact Change` business process security policy:
   * Search for *Edit Business Process Security Policy* and open the policy `Work Contact Change`.
   * Enter edit mode and find the entry whose initiating action is `Change Work Contact Information (Web Service)`.
   * Add the security group created for the integration and click Save.
3. Search for *Activate Pending Security Policy Changes*, add a comment, review the changes, and approve them. **If you skip this step, none of the permissions take effect and syncs will fail with authorization errors.**

#### Stage 4: Create an API Client for the integration

1. Visit the **View API Clients** page in Workday (find it via the search bar). Click the **Register API Client for Integration** button and fill out the form with the values below. (Do not use the plain *Register API Client* task. Clients registered there fail with authorization errors during sync.)
2. Securely store the generated **Client ID**, **Client Secret**, **Workday REST API Endpoint**, **Token Endpoint**, and **Authorization Endpoint**.
3. Select **Action > API Client > Manage Refresh Tokens for Integrations**. For the Workday Account, select the ISU you created in Stage 1, then generate a new **Refresh Token** and securely store the value.

| **Field** | **Value** |
| - | - |
| Client Name | Lumos Integration |
| Grant type | Authorization Code Grant |
| Access token | Bearer |
| Disabled | (Make sure the box is **unchecked**) No |
| Non-Expiring Refresh Tokens | (Make sure the box is **checked**) Yes |
| Scope (Functional Areas) | Staffing, System, Contact Information, Personal Data, Organization and Roles, Integration (Integration is required for syncing ISUs, optional otherwise) |
| Include Workday Owned Scope | (Make sure the box is **checked**) Yes |

#### Stage 5: Workday Public SOAP API Access

At this stage, you'll be determining where Lumos can make calls to your tenant over the internet.

1. Visit the **Public Web Services** page (find it via the search bar) and open the **Public Web Services** report.
2. Hover over **Human Resources**, click the three dots menu, then click **Web Services > View WSDL**.
3. Within the WSDL, find a URL with the format `https://{domain}/ccx/service/{tenant}/hcm`. Securely store the `domain` and `tenant` values for later.

### Lumos Steps

1. Click on the Workday card in your Lumos integrations ([Reconnect](https://app.lumosidentity.com/integrations?tab=connected) or [add new](https://app.lumosidentity.com/integrations?tab=can_integrate)).
2. In the *Connection* section, enter the following values:
   * **Workday tenant name**: The tenant name from Stage 5.
   * **Workday domain name**: The domain name from Stage 5.
   * **Client ID**: The client ID from Stage 4.
   * **Client Secret**: The client secret from Stage 4.
   * **Refresh Token**: The refresh token from Stage 4.
   * **Integration System ID**: If applicable (required only for Integration Field Overrides / ISU syncing configurations).
3. Click **Connect** to connect the integration.

> **Reconnecting caveats:** when reconnecting Workday, the **Integration System ID**, **Workday Tenant Name**, and **Workday Domain Name** must remain the same. If your setup requires changing any of those fields, connect a new integration instead of reconnecting this one.

## API Endpoints Used

> [!NOTE]
>
> The API endpoints this integration uses are available to logged-in Lumos customers. Log in to view them.

## Troubleshooting

* **"The task submitted is not authorized" SOAP fault / permission errors during sync.** This is a Workday-side configuration gap. Common causes, in order of likelihood:
  1. Pending security policy changes were never activated. Re-run *Activate Pending Security Policy Changes*.
  2. The API client was registered under *Register API Client* instead of *Register API Client for Integrations*.
  3. The ISU's security group is missing one or more of the required Domain Security Policy permissions, or they were added as Report/Task permissions instead of Integration Permissions.
* **Sync marked FAILED even though accounts are syncing.** During sync, Lumos fetches each worker's user-based security groups to map them into entitlements. If the ISU lacks the **User-Based Security Group Administration** and **Security Configuration** domain security policies, that step fails and the whole sync is marked FAILED even though the account sync succeeded. Grant the two policies to the ISU's security group, activate the pending changes, and Lumos picks it up on the next sync, with no reconnect needed.
* **Empty connection form when reconnecting.** This is expected. Lumos never echoes saved secrets back into the form.
* **Worker status mapping.** Workday **Active** (including workers on leave, which Workday keeps as Active) maps to Lumos **Active**. Workday **Terminated** maps to Lumos **Suspended**. A worker no longer returned by the Workday API becomes **Deprovisioned**. There is no separate on-leave state in Lumos. Future-dated hires appear as **Staged** until their start date only when future-dated hire sync is turned on for your tenant, which covers a set number of days ahead. To turn it on, contact Lumos Support.
* **One person with two Workday worker records.** A conversion or rehire can leave one person with two worker records in Workday, for example an inactive Employee record and an active Contractor record with the same email. Each record syncs as its own account. What happens next depends on whether your identity matching rules link both records to the same identity.
  * When both records are linked to one identity, the identity's status, name, email, and Identity Type come from the same record, the one with the most active status (**Active**, then **Staged**, then **Suspended**). Attributes from the inactive record, such as its termination date, are ignored while an active or staged record exists, so the inactive record doesn't make the identity inactive. For the full status order, see [Understanding Account Status with Multiple Sources](https://docs.lumos.com/for-admins/applications-entitlements/understanding-account-status-with-multiple-sources.md).
  * When the records are linked to separate identities, Lumos evaluates each identity on its own. The identity holding the terminated record gets that record's status and end date, and your offboarding trigger can act on it even though the person is still active on the other record. Before you turn on automatic offboarding, check that your [matching rules](https://docs.lumos.com/for-admins/applications-entitlements/configuring-account-to-identity-matching-rules.md) link both records to the same identity.
* **Sync Integration Service Users** is addition-only: it surfaces ISU accounts that would otherwise not appear. It requires the additional Integration Security permission and Integration scope, and syncs may run slightly slower once enabled. Enabling an invalid/nonexistent **Integration System ID** causes Workday to reject the ISU fetch with a 500. Leave the field blank if you have no Integration System configured. ISUs that are not attached to an Integration System are discovered through the Workday Query Language `allWorkdayAccounts` data source. If some ISUs you expect are missing, confirm their **Is Integration User** flag is set in Workday.
