Get Employee Info activity

The Get Employee Info activity gets an employee's information from Workday.

To access this activity in the workflow editor, select the Custom tab, and then navigate to Custom Activities > Workday Orchestration. This activity was built with the SOAP Web service activity designer template.

Note: Before using this activity, configure the SOAP message "Get Worker" with the SOAP endpoint, and update Workday credentials accordingly. To update Workday credentials, navigate to Employee Orchestration > Workday Credential.

Input variables

Table 1. Get Employee Info input variables
Variable Description
employee_id Workday employee ID.

Output variables

Table 2. Get Employee Info output variables
Variable Description
status_code Contains the status code returned from the web service.
error Returns the error string from the SOAP web service, unless there are no errors, in which case it returns null.
employee_wid Employee system ID in Workday (e.g. 73528cac9c871079a947ebe000c72de2).
user_id User ID in Workday (e.g. mgandhi).
first_name Employee's first name.
last_name Employee's last name.
employee_number Workday employee ID.
first_day_of_work Employee's first day of employment.
work_address The work_address object contains the following attributes for work address information:
  • address_line1 (e.g. 139 SE 88th Pl.)
  • city (e.g. San Diego)
  • state (e.g. CA)
  • country: Three-letter country codes defined in ISO 3166-1 (e.g. USA)
  • postal_code (e.g. 98054)
home_address The home_address object contains the following attributes for home address information:
  • address_line1
  • city
  • state
  • country: Three-letter country codes defined in ISO 3166-1 (e.g. USA)
  • postal_code
work_phone The work_phone object contains the following attributes for work phone information:
  • international_phone_code: Country-specific International Phone Code (e.g. 1)
  • area_code: Area code for the phone number (e.g. 408)
  • phone_number: Phone number without the area code (e.g. 1234567)
cell_phone The cell_phoneobject contains the following attributes for cell phone information:
  • international_phone_code: Country-specific International Phone Code (e.g. 1)
  • area_code: Area code for the phone number (e.g. 408)
  • phone_number: Phone number without the area code (e.g. 1234567)
home_email Employee's home email address.
work_email Employee's work email address.
validation_error Validation error returned from Workday, if any.

Conditions

Table 3. Get Employee Info conditions
Condition Description
Employee exists This employee exists in the Workday instance.
Employee doesn't exist This employee does not exist in the Workday instance, or the employee ID is not valid.
Failure The activity failed to connect to the Workday instance.