Workday
Connect Swarmia directly to Workday to sync time off and leaves, and match workers.
Swarmia connects directly to Workday using credentials you create in Workday and paste into Swarmia. Once connected, Swarmia syncs time off and leaves of absence, and matches Workday workers to Swarmia authors.
Requirements
Swarmia organization admin. Connecting Workday requires the organization admin role in Swarmia.
Workday administrator. Creating the integration user and registering the API client takes security administration access in Workday. The two halves can be done by different people: a Workday admin produces four values, and a Swarmia organization admin pastes them in.
Work email on every worker. Swarmia matches Workday workers to Swarmia authors by their public primary work email. Workers without one won't sync, and their time off won't show up in Swarmia.
Create the integration user in Workday
Run these Workday tasks in order.
Create Integration System User. Name it Swarmia. Set a password that doesn't expire, so the connection doesn't break when a password policy runs.
Create Security Group. Choose Integration System Security Group, name it Swarmia Integration, and add the integration system user you just created.
Maintain Permissions for Security Group. Grant your new group Get access to the domains listed below.
Activate Pending Security Policy Changes. Permission changes don't take effect until you activate them. Skipping this is the most common reason a connection fails straight after setup.
Constrained or unconstrained
When you create the security group, Workday asks whether it's constrained. A constrained group is limited to selected supervisory organizations, so the integration user can only ever see people in those parts of your organization. An unconstrained group sees everyone.
Either works. If you constrain the group, Swarmia only sees absences for workers inside the organizations you picked, and Workday doesn't report the people it left out. If time off is missing in Swarmia for part of your company, check this first.
Domains
Grant Get access to these three domains:
Worker Data: Public Worker Reports
Workers and their work email
Worker Data: Time Off (Time Off)
Time off entries
Worker Data: Leave of Absence
Leaves of absence
Don't skip the leave of absence domain. Workday keeps long absences such as parental leave separately from ordinary time off, and Swarmia reads both. Without it, someone on a six-month leave looks like they worked the whole time.
Workday's API reference lists a few more domains for the same data, such as Self-Service domains and FLW Service. Each of them is an alternative to the ones above, not an addition. Self-Service domains only cover a worker's own data, so they don't help an integration user, and FLW Service only exists in tenants that use Frontline Worker. You don't need them.
Register the API client
Run Register API Client for Integrations. Name it Swarmia.
Select the scopes Staffing, Time Off and Leave, and Tenant Non-Configurable.
Set Access Token Type to Bearer and leave the refresh token as non-expiring.
Finish the task. Workday shows the Client ID and Client Secret once. Copy both now.
Run Manage Refresh Tokens for Integrations, choose the Swarmia integration system user, and generate a refresh token. Copy it.
Run View API Clients and copy the Token Endpoint.
You should now have four values: the token endpoint, the client ID, the client secret, and the refresh token.
Connect Workday in Swarmia
Go to Settings → HR system.
In the Workday row, click Connect.
Paste the token endpoint, client ID, client secret, and refresh token, then click Connect.
Swarmia checks the credentials against your tenant before saving anything, and stores them encrypted. The status flips to Connected and the first sync starts in the background.
If Workday rejects them, Swarmia tells you which part failed:
The token endpoint. It isn't a Workday address, or it isn't the one from View API Clients.
The tenant. Swarmia couldn't reach it.
The credentials. The client ID, client secret, and refresh token don't belong to the same API client, or the refresh token has been revoked.
Access. The credentials work, but the integration user can't read worker data. Check the domains, and check that you ran Activate Pending Security Policy Changes.
What Swarmia syncs
Time off
All time off from 2 years before you connected to 1 month ahead, refreshed every 24 hours.
Only approved time off counts. Entries that are submitted, sent back, or not submitted don't.
Canceled and denied time off is removed. It disappears from Swarmia on the next refresh.
Part days count as a full day. Half a day, or a few hours off, is stored as a whole day.
Every time off type counts. Vacation, sick leave, and everything else are treated the same.
Swarmia never reads balances, approvers, reasons, or comments.
Leaves of absence
Workday tracks long absences — parental leave, sabbatical, long-term sick leave — apart from day-to-day time off, so Swarmia reads them separately.
Only fully approved leaves count. A leave still working its way through approvals doesn't, and neither does one that was canceled or rescinded.
An open leave runs to its expected return date. Workday doesn't record the real last day until someone completes the return from leave, so until then Swarmia uses the expected one. If there isn't one either, the leave counts as ongoing and extends by a day with each refresh.
The real end date replaces the estimate as soon as the return is recorded in Workday.
Worker data
Work email and name only. Swarmia uses them to match each Workday worker to a Swarmia author.
Terminated workers are included, so time off from before someone left stays in your historical reports.
Swarmia doesn't read compensation, job details, org structure, or any other worker fields.
Where the data shows up
Developer effort metrics — approved time off reduces a person's available days, so effort scores reflect when people are actually working.
FTE counts — feed into investment balance and software capitalization reports.
Work log — time off appears when work log is grouped by author.
See Developer effort (FTEs) for how time off factors into the calculation.
Check the connection status
The HR system settings page shows the host and tenant Swarmia is connected to, and the current status:
Connected — the integration is healthy and syncing.
Disabled — Workday stopped accepting the credentials, so syncing has stopped.
If Workday rejects the credentials during a sync, Swarmia waits an hour in case it's a temporary outage. If they're still rejected after that, Swarmia disables the integration and emails your Swarmia organization admins. The time off Swarmia already has stays as it is.
The most common causes are the integration system user being deactivated, the API client being deleted, or the refresh token being revoked. All three are routine Workday administration, and Workday doesn't tell Swarmia they happened.
Rotate the credentials
In Workday, run Manage Refresh Tokens for Integrations and generate a new refresh token for the Swarmia integration system user.
In Swarmia, click Reconnect in the Workday card and paste the new values.
The new credentials replace the old ones and syncing continues. Reconnecting the same way also fixes a disabled integration.
To stop syncing, click Disconnect in the Workday card. Swarmia stops calling your tenant, and the time off it already has stays as it is.
Related
Upload time off data via CSV — alternative when a direct integration isn't an option.
Time off API — push time off into Swarmia programmatically.
Last updated
Was this helpful?