Workday
Workday is an HRIS integration. Unlike other integrations, Trustle does not manage access inside Workday. Trustle reads worker records from Workday and uses them to keep your Trustle users and your Identity Provider accurate.
Trustle uses the Workday data for two things:
- Employee profile enrichment. Trustle fills in each user’s start date, department, and manager from their Workday worker record.
- Leaver detection. When Workday marks a worker as terminated, Trustle suspends that person’s account in your Identity Provider, so sign-in is locked as soon as HR records the termination.
Prerequisites
Section titled “Prerequisites”- For Workday: a Workday administrator who can create an Integration System User and register an API client.
- For Trustle: your Workday Tenant Host and Tenant Name.
- For Trustle: the Client ID, Client Secret, and Refresh Token created in the steps below.
Configure Workday
Section titled “Configure Workday”Create the Integration System User
Section titled “Create the Integration System User”Trustle authenticates as a dedicated Workday Integration System User (ISU) rather than as a person, so the connection keeps working when staff change roles.
- Sign in to your Workday tenant as an administrator.
- Search for and run the Create Integration System User task.
- Enter the details for the new user.
- Give it a recognizable name, such as
ISU_Trustle. - Set a password and record it securely.
- Select Require New Password at Next Sign In = No.
- Set Session Timeout Minutes to
0so the integration session does not expire.
- Give it a recognizable name, such as
- Click OK.
Create the Security Group and Grant Worker Data Access
Section titled “Create the Security Group and Grant Worker Data Access”The ISU has no access to data until you place it in a security group and grant that group permission to read worker records.
- Create the security group.
- Search for and run the Create Security Group task.
- Choose type Integration System Security Group (Unconstrained).
- Name it something recognizable, such as
ISSG_Trustle. - Add the ISU created in the previous step as a member.
- Grant the group access to worker data.
- Search for and run the Maintain Permissions for Security Group task.
- Select the security group from above.
- Grant Get (view) permission on the domains that expose worker data, including the Workday Query Language domain.
- Activate the changes.
- Search for and run the Activate Pending Security Policy Changes task.
- Enter a comment and confirm.
Trustle reads exactly these worker fields, and nothing else:
- Worker ID and preferred name.
- Primary work email.
- Hire date.
- Active and Terminated flags.
- Primary supervisory organization name, used as the department.
- The primary supervisory organization manager’s work email.
Register the API Client for Integrations
Section titled “Register the API Client for Integrations”This step creates the OAuth 2.0 credentials Trustle uses to authenticate.
- Search for and run the Register API Client for Integrations task.
- Complete the client details.
- Client Name:
Trustle. - Select Non-Expiring Refresh Tokens.
- Scope: select the functional areas that cover worker and staffing data.
- Client Name:
- Click OK.
- Record the credentials Workday displays.
- Client ID.
- Client Secret.
Generate the Refresh Token
Section titled “Generate the Refresh Token”The refresh token lets Trustle obtain short-lived access tokens without storing a Workday password.
- Search for and run the View API Clients task.
- Open the API Clients for Integrations tab and select the Trustle client.
- Select Manage Refresh Tokens for Integrations.
- Choose the ISU created in the first step as the Workday Account.
- Select Generate New Refresh Token and click OK.
- Record the refresh token that Workday displays.
Collect the Tenant Host and Tenant Name
Section titled “Collect the Tenant Host and Tenant Name”Trustle builds its Workday API URLs from two values you can read out of the address bar while signed in to Workday.
- Sign in to your Workday tenant and look at the browser address bar.
- Record the Tenant Host — the hostname only, with no
https://and no path, for examplewd2-impl-services1.workday.com. - Record the Tenant Name — your tenant identifier, for example
acme_preview1.
If you are unsure of the tenant name, your Workday administrator can confirm it. It is the same value that appears in your Workday API endpoint URLs.
Connect in Trustle
Section titled “Connect in Trustle”- Sign in to Trustle as an administrator.
- Go to Connections and select Workday.
- Complete the form.
- Connection Name: a name for this connection, for example
Workday. - Description: optional note.
- Tenant Host: from the previous section, hostname only.
- Tenant Name: from the previous section.
- Client ID: from the Register the API Client for Integrations step.
- Client Secret: from the Register the API Client for Integrations step.
- Refresh Token: from the Generate the Refresh Token step.
- Connection Name: a name for this connection, for example
- Click Connect. Trustle validates the credentials before it saves the connection. It requests an access token from Workday, then reads a single worker record. The connection is created only if both calls succeed. The Client Secret and Refresh Token are encrypted at rest.
- Designate Workday as your HRIS connection.
Verify
Section titled “Verify”- Click Connect and confirm Trustle reports success. Trustle creates the connection only after it requests an access token from Workday and reads a single worker record.
- Set Workday as your HRIS connection, then check a user’s profile for a start date, department, and manager populated from Workday.
- To confirm leaver detection, terminate a worker in Workday and confirm Trustle suspends the matching account in your Identity Provider.