| Namespace | http://www.mulesoft.org/schema/mule/wd-hr |
| Schema Location | http://www.mulesoft.org/schema/mule/wd-hr/current/mule-wd-hr.xsd (View Schema) |
| Schema Version | 2.0 |
| Minimum Mule Version | 3.2 |
Configuration
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-hr="http://www.mulesoft.org/schema/mule/wd-hr"
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-hr
http://www.mulesoft.org/schema/mule/wd-hr/current/mule-wd-hr.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at
the root of your Mule application. You can create as many configurations as you deem necessary as long as each carries
its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to
specify which configuration to use.
| Attributes |
| Type | Name | Default Value | Description | Java Type | MIME Type | Encoding |
xs:string |
name |
|
Optional. Give a name to this configuration so it can be later referenced. |
| | |
|
xs:string |
endpoint |
|
The cash endpoint. |
|
|
|
|
xs:string |
password |
|
The Workday account's password
|
|
|
|
|
xs:string |
username |
|
The Workday account's username
|
|
|
|
Message Processors
<wd-hr:find-employee>
This operation responds with a set of references to Employees that match the criteria
specified in the request element.
Attributes
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
| config-ref |
|
Optional. Specify which configuration to use. |
|
|
|
| employeeFindType |
#[payload] |
Optional. The criteria to look for |
EmployeeFindType |
*/* |
|
Returns
| Return Type |
Description |
| EmployeeReferencesType |
The employee references that satisfy ALL criteria included in the request
|
Exception Payloads
| Payload Class | Description |
| Exception |
if operation fails |
<wd-hr:get-employee>
This operation retrieves data related to an Employee and his/her Employment,
Personal and Compensation.
Attributes
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
| config-ref |
|
Optional. Specify which configuration to use. |
|
|
|
| employeeGetType |
#[payload] |
Optional. The criteria to look for |
EmployeeGetType |
*/* |
|
Returns
| Return Type |
Description |
| EmployeeType |
An instance of Employee and its associated data.
|
Exception Payloads
| Payload Class | Description |
| Exception |
if operation fails |
<wd-hr:update-employee-personal-info>
This operation updates Personal (e.g. Biographic, Demographic, etc.) information
related to an Employee
Attributes
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
| config-ref |
|
Optional. Specify which configuration to use. |
|
|
|
Child Elements
| Name | Default Value | Description | Java Type |
|---|
| <wd-hr:employee-personal-info-data> |
|
Optional. Personal Information for an Employee. |
Map<String, Object> |
| <wd-hr:employee-reference> |
|
Optional. Reference element representing a unique instance of Employee.
|
Map<String, Object> |
Exception Payloads
| Payload Class | Description |
| Exception |
if operation fails |
Message Sources
Transformers