| Namespace | http://www.mulesoft.org/schema/mule/wd-payroll-interface |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/wd-payroll-interface/current/mule-wd-payroll-interface.xsd (View Schema) |
| Schema Version | 2.0 |
| Minimum Mule Version | 3.4 |
The Payroll Interface Web Service contains operations that expose Workday Human Capital Management Business Services data for integration with external payroll systems.
| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves data related to an externally loaded Batch and its associated
Application Input (e.g.
| |||||||||||
This operation retrieves data related to an External Pay Group
(e.g.
| |||||||||||
Retrieves data related to External Payroll Inputs (e.g.
| |||||||||||
Retrieves data related to Payees (e.g.
| |||||||||||
Return Period Schedules
| |||||||||||
Get Worker- or Position Restrictions-based costing allocations, either for specific criteria or for all workers or positions.
| |||||||||||
This web service operation allows the user to do the following:
1 - Update Last Extract Created for External Pay Group by providing External Pay Group Reference, Integration System Reference, and Date Time.
| |||||||||||
Gives you the ability to import third-party payroll actual hours worked into Workday.
| |||||||||||
Accepts periodic employee pay data from an external partner for use in Payroll Interface web service APIs.
| |||||||||||
Allows the input of multiple payroll results from external systems into Workday.
| |||||||||||
This public web service operation is designed to add/update Period Schedules
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:wd-payroll-interface="http://www.mulesoft.org/schema/mule/wd-payroll-interface"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/wd-payroll-interface
http://www.mulesoft.org/schema/mule/wd-payroll-interface/current/mule-wd-payroll-interface.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This connector offers automatic connection management via the use of a connection pool. The pool will act a storage mechanism for all the connections that are in-use by the user of this connector.
Prior to execution of a processor, the connector will attempt to lookup an already established connection and if one doesn't exists it will create one. That lookup mechanism is done in the connection pool via the use of connection variables declared as keys.
The user of the connector can configure the pool by adding a connection-pooling-profile to the connector configuration like this:
<wd-payroll-interface:connection-pooling-profile maxActive="10" maxIdle="10"
exhaustedAction="WHEN_EXHAUSTED_GROW" maxWait="120" minEvictionMillis="60000" evictionCheckIntervalMillis="30000"/>
The following is a list of connection attributes, each connection attribute can be configured at the config element level or they can also be added to each processor. If they are used at the processor level they get the benefit of full expression resolution.
| Connection Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
| Optional. Specify which configuration to use. | |||||||||||
| Workday user | String | */* | UTF-8 | ||||||||
| Workday password | String | */* | UTF-8 | ||||||||
| Workday endpoint | String | */* | UTF-8 | ||||||||
| Optional. Workday WSDL location | String | */* | UTF-8 | ||||||||
Reconnection Strategies specify how a connector behaves when its connection fails. You can control how Mule attempts to reconnect by specifying a number of criteria:
With a reconnection strategy, you can better control the behavior of a failed connection, by configuring it, for example, to re-attempt the connection only once every 15 minutes, and to give up after 30 attempts. You can also send an automatic notification to your IT administrator whenever this reconnection strategy goes into effect. You can even define a strategy that attempts to reconnect only during business hours. Such a setting can prove useful if your server is frequently shut down for nightly maintenance.
A reconnection strategy that allows the user to configure how many times a reconnection should be attempted and how long to wait between attempts.
<wd-payroll-interface:config>
<reconnect count="5" frequency="1000"/>
</wd-payroll-interface:config>
| Reconnect Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Default Value | Description | |||||||||
| Optional. How often (in ms) to reconnect | |||||||||||
| Optional. How many reconnection attempts to make | |||||||||||
For more information about reconnection strategies in Mule, or even how to write your own custom reconnection strategy please check this section.
Retrieves data related to an externally loaded Batch and its associated Application Input (e.g. Payroll, External Payroll, Absence).
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| #[payload] | Optional. Request element used to find and get Batches and their associated data. | GetBatchesRequestType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Workday user | String | */* | UTF-8 | ||||||||
| Optional. Workday password | String | */* | UTF-8 | ||||||||
| Optional. Workday endpoint | String | */* | UTF-8 | ||||||||
| https://community.workday.com/custom/developer/API/Payroll_Interface/v20/Payroll_Interface.wsdl | Optional. Workday WSDL location | String | */* | UTF-8 | |||||||
| Return Type | Description |
|---|---|
| GetBatchesResponseType | element containing instances of Batch and each of its associated data. |
| Payload Class | Description |
|---|---|
| WorkdayException | If an error during the operation occurs this exception is thrown |
This operation retrieves data related to an External Pay Group (e.g. Pay Group expected to have Payroll processed on an external non-Workday system).
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| #[payload] | Optional. Request element used to find and get External Pay Groups and their associated data. | GetExternalPayGroupsRequestType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Workday user | String | */* | UTF-8 | ||||||||
| Optional. Workday password | String | */* | UTF-8 | ||||||||
| Optional. Workday endpoint | String | */* | UTF-8 | ||||||||
| https://community.workday.com/custom/developer/API/Payroll_Interface/v20/Payroll_Interface.wsdl | Optional. Workday WSDL location | String | */* | UTF-8 | |||||||
| Return Type | Description |
|---|---|
| GetExternalPayGroupsResponseType | element containing instances of External Pay Group and each of its associated data. |
| Payload Class | Description |
|---|---|
| WorkdayException | If an error during the operation occurs this exception is thrown |
Retrieves data related to External Payroll Inputs (e.g. associated with an External Earning/Deduction).
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| #[payload] | Optional. Request element used to find and get External Payroll Input entries and their associated data. | GetExternalPayrollInputsRequestType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Workday user | String | */* | UTF-8 | ||||||||
| Optional. Workday password | String | */* | UTF-8 | ||||||||
| Optional. Workday endpoint | String | */* | UTF-8 | ||||||||
| https://community.workday.com/custom/developer/API/Payroll_Interface/v20/Payroll_Interface.wsdl | Optional. Workday WSDL location | String | */* | UTF-8 | |||||||
| Return Type | Description |
|---|---|
| GetExternalPayrollInputsResponseType | element containing instances of External Payroll Inputs and each of its associated data. |
| Payload Class | Description |
|---|---|
| WorkdayException | If an error during the operation occurs this exception is thrown |
Retrieves data related to Payees (e.g. Employees) that belong to an External Pay Group (e.g. Pay Group expected to have Payroll processed on an external non-Workday system). Data returned includes Employment, Personal, Earnings and Deductions.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| #[payload] | Optional. Request element used to find and get Payees and their associated data. | GetPayeesRequestType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Workday user | String | */* | UTF-8 | ||||||||
| Optional. Workday password | String | */* | UTF-8 | ||||||||
| Optional. Workday endpoint | String | */* | UTF-8 | ||||||||
| https://community.workday.com/custom/developer/API/Payroll_Interface/v20/Payroll_Interface.wsdl | Optional. Workday WSDL location | String | */* | UTF-8 | |||||||
| Return Type | Description |
|---|---|
| GetPayeesResponseType | element containing instances of Payees and each of his/her associated data. |
| Payload Class | Description |
|---|---|
| WorkdayException | If an error during the operation occurs this exception is thrown |
Return Period Schedules
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| #[payload] | Optional. The request object for the operation | GetPeriodSchedulesRequestType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Workday user | String | */* | UTF-8 | ||||||||
| Optional. Workday password | String | */* | UTF-8 | ||||||||
| Optional. Workday endpoint | String | */* | UTF-8 | ||||||||
| https://community.workday.com/custom/developer/API/Payroll_Interface/v20/Payroll_Interface.wsdl | Optional. Workday WSDL location | String | */* | UTF-8 | |||||||
| Return Type | Description |
|---|---|
| GetPeriodSchedulesResponseType | The response from the operation |
| Payload Class | Description |
|---|---|
| WorkdayException | If an error during the operation occurs this exception is thrown |
Get Worker- or Position Restrictions-based costing allocations, either for specific criteria or for all workers or positions. Can include only the external integration references or the full allocation details.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| #[payload] | Optional. The request object for the operation | GetWorkerCostingAllocationsRequestType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Workday user | String | */* | UTF-8 | ||||||||
| Optional. Workday password | String | */* | UTF-8 | ||||||||
| Optional. Workday endpoint | String | */* | UTF-8 | ||||||||
| https://community.workday.com/custom/developer/API/Payroll_Interface/v20/Payroll_Interface.wsdl | Optional. Workday WSDL location | String | */* | UTF-8 | |||||||
| Return Type | Description |
|---|---|
| GetWorkerCostingAllocationsResponseType | The response from the operation |
| Payload Class | Description |
|---|---|
| WorkdayException | If an error during the operation occurs this exception is thrown |
This web service operation allows the user to do the following: 1 - Update Last Extract Created for External Pay Group by providing External Pay Group Reference, Integration System Reference, and Date Time. 2 - Update External Payroll Period Status by providing Pay Group Reference, Period Reference, and Period Status Reference. Note: Put Pay Group (Web Service) allows the user to add/update the full External Pay Group instance with all required details.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| #[payload] | Optional. Put External Pay Group Request element | PutExternalPayGroupRequestType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Workday user | String | */* | UTF-8 | ||||||||
| Optional. Workday password | String | */* | UTF-8 | ||||||||
| Optional. Workday endpoint | String | */* | UTF-8 | ||||||||
| https://community.workday.com/custom/developer/API/Payroll_Interface/v20/Payroll_Interface.wsdl | Optional. Workday WSDL location | String | */* | UTF-8 | |||||||
| Return Type | Description |
|---|---|
| PutExternalPayGroupResponseType | response element |
| Payload Class | Description |
|---|---|
| WorkdayException | If an error during the operation occurs this exception is thrown |
Gives you the ability to import third-party payroll actual hours worked into Workday.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| #[payload] | Optional. Request element | PutExternalPayrollActualsRequestType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Workday user | String | */* | UTF-8 | ||||||||
| Optional. Workday password | String | */* | UTF-8 | ||||||||
| Optional. Workday endpoint | String | */* | UTF-8 | ||||||||
| https://community.workday.com/custom/developer/API/Payroll_Interface/v20/Payroll_Interface.wsdl | Optional. Workday WSDL location | String | */* | UTF-8 | |||||||
| Return Type | Description |
|---|---|
| ExternalPayActualResponseType | response element |
| Payload Class | Description |
|---|---|
| WorkdayException | If an error during the operation occurs this exception is thrown |
Accepts periodic employee pay data from an external partner for use in Payroll Interface web service APIs.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| #[payload] | Optional. Request element used to load/update an instance of an External Payroll Input entry | PutExternalPayrollInputRequestType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Workday user | String | */* | UTF-8 | ||||||||
| Optional. Workday password | String | */* | UTF-8 | ||||||||
| Optional. Workday endpoint | String | */* | UTF-8 | ||||||||
| https://community.workday.com/custom/developer/API/Payroll_Interface/v20/Payroll_Interface.wsdl | Optional. Workday WSDL location | String | */* | UTF-8 | |||||||
| Return Type | Description |
|---|---|
| PutExternalPayrollInputResponseType | Response element from load/update of an instance of External Payroll Input |
| Payload Class | Description |
|---|---|
| WorkdayException | If an error during the operation occurs this exception is thrown |
Allows the input of multiple payroll results from external systems into Workday.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| #[payload] | Optional. External Payroll Result Request | PutExternalPayrollResultsRequestType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Workday user | String | */* | UTF-8 | ||||||||
| Optional. Workday password | String | */* | UTF-8 | ||||||||
| Optional. Workday endpoint | String | */* | UTF-8 | ||||||||
| https://community.workday.com/custom/developer/API/Payroll_Interface/v20/Payroll_Interface.wsdl | Optional. Workday WSDL location | String | */* | UTF-8 | |||||||
| Return Type | Description |
|---|---|
| PutExternalPayrollResultsResponseType | Put External Payroll Results Response |
| Payload Class | Description |
|---|---|
| WorkdayException | If an error during the operation occurs this exception is thrown |
This public web service operation is designed to add/update Period Schedules
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||||||||
| #[payload] | Optional. The request object for the operation | PutPeriodScheduleRequestType | */* | ||||||||
| Connection Parameters This are only required if you didn't specified them at the configuration element. They are also useful for overriding the values of the configurations or even if you need to extract them from the Mule message since they support expression evaluation. | |||||||||||
| Optional. Workday user | String | */* | UTF-8 | ||||||||
| Optional. Workday password | String | */* | UTF-8 | ||||||||
| Optional. Workday endpoint | String | */* | UTF-8 | ||||||||
| https://community.workday.com/custom/developer/API/Payroll_Interface/v20/Payroll_Interface.wsdl | Optional. Workday WSDL location | String | */* | UTF-8 | |||||||
| Return Type | Description |
|---|---|
| PutPeriodScheduleResponseType | The response from the operation |
| Payload Class | Description |
|---|---|
| WorkdayException | If an error during the operation occurs this exception is thrown |