Workday HCM connectors
The Bonita Workday HCM connectors let you manage workers, search employees, and interact with Workday business processes directly from your Bonita processes.
The Bonita Workday HCM Connectors are available for Bonita 10.2 Community (2024.3) version and above.
|
This connector is currently in Beta. It has not yet been fully validated in production environments. We welcome your feedback — please report testing results or issues using the beta feedback form on GitHub. We are eager to collaborate with early adopters to bring this connector to General Availability. |
Overview
The Workday HCM connector provides six operations:
-
Get Worker — retrieve detailed information about a worker
-
Search Workers — search for workers using queries or filters
-
Create Worker — create a new worker (hire)
-
Update Worker — update worker information
-
Get Business Process — check the status of a Workday business process
-
Submit Event — submit an HR event (e.g., termination, transfer, promotion)
Authentication uses OAuth2 with client credentials and a refresh token.
Getting started
Add the connector as an extension dependency to your Bonita project. Import the .jar file via Import from file in Bonita Studio.
Connection configuration (shared by all operations)
| Parameter | Required | Description | Default |
|---|---|---|---|
clientId |
Yes |
Workday OAuth2 client ID |
— |
clientSecret |
Yes |
Workday OAuth2 client secret |
— |
refreshToken |
Yes |
Workday OAuth2 refresh token |
— |
tenantAlias |
Yes |
Workday tenant alias |
— |
basePath |
No |
Custom API base path |
— |
tokenEndpoint |
No |
Custom OAuth2 token endpoint |
— |
connectTimeout |
No |
Connection timeout in milliseconds |
30000 |
readTimeout |
No |
Read timeout in milliseconds |
60000 |
Get Worker (workday-get-worker)
Retrieve detailed information about a specific worker.
Input parameters
| Parameter | Required | Description | Default |
|---|---|---|---|
workerId |
Yes |
Workday worker ID |
— |
includePersonalData |
No |
Whether to include personal data |
true |
includeEmploymentData |
No |
Whether to include employment data |
true |
Output parameters
| Parameter | Type | Description |
|---|---|---|
workerData |
String |
JSON representation of worker data |
workerDataMap |
Map |
Worker data as a key-value map |
fullName |
String |
Worker full name |
employeeId |
String |
Employee ID |
success |
Boolean |
Whether the operation succeeded |
errorMessage |
String |
Error message if the operation failed |
Search Workers (workday-search-workers)
Search for workers using text queries, WQL, or organizational filters.
Create Worker (workday-create-worker)
Update Worker (workday-update-worker)
Submit Event (workday-submit-event)
Submit an HR event such as a compensation change, termination, transfer, or promotion.
Input parameters
| Parameter | Required | Description | Default |
|---|---|---|---|
eventType |
Yes |
Type of event (Compensation_Change, Termination, Transfer, Promotion, Job_Change) |
— |
workerId |
Yes |
ID of the worker |
— |
eventData |
Yes |
JSON object with event-specific data |
— |
effectiveDate |
Yes |
Effective date of the event |
— |
reason |
No |
Reason for the event |
— |
Error handling
All operations set success=false and populate errorMessage on failure. Error messages are truncated to 1000 characters to prevent database column overflow in Bonita.
| HTTP Code | Behavior |
|---|---|
200/201 |
Success — parse response and populate outputs |
400 |
Bad request — invalid parameters |
401 |
Unauthorized — invalid or expired credentials |
403 |
Forbidden — insufficient permissions |
404 |
Not found — worker or process not found |
429 |
Rate limited — too many requests |
5xx |
Server error — Workday service unavailable |
Source code
The connector source code is available on GitHub: bonita-connector-workday