org.mule.modules

mule-module-workday

config

Namespacehttp://www.mulesoft.org/schema/mule/wd-hr
Schema Locationhttp://www.mulesoft.org/schema/mule/wd-hr/current/mule-wd-hr.xsd  (View Schema)
Schema Version2.0
Minimum Mule Version3.2

Module Overview

The HumanResourcesModule exposes Workday operations related to Human Resources data. It supports updateEmployeePersonalInfo operation.

Summary

Configuration
<wd-hr:config>
Configure an instance of this module
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.
<wd-hr:get-employee>
This operation retrieves data related to an Employee and his/her Employment, Personal and Compensation.
<wd-hr:update-employee-personal-info>
This operation updates Personal (e.g.

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
TypeNameDefault ValueDescriptionJava TypeMIME TypeEncoding
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.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
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 ClassDescription
Exception if operation fails

<wd-hr:get-employee>

This operation retrieves data related to an Employee and his/her Employment, Personal and Compensation.

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
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 ClassDescription
Exception if operation fails

<wd-hr:update-employee-personal-info>

This operation updates Personal (e.g. Biographic, Demographic, etc.) information related to an Employee

XML Sample
INCLUDE_ERROR

Attributes
NameDefault ValueDescriptionJava TypeMIME TypeEncoding
config-ref Optional. Specify which configuration to use.
Child Elements
NameDefault ValueDescriptionJava 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 ClassDescription
Exception if operation fails

Message Sources

Transformers