<?xml version="1.0" encoding="UTF-8"?>
<unload unload_date="2016-04-22 19:14:44">
<sys_remote_update_set action="INSERT_OR_UPDATE">
<application display_value="Workday Orchestration">7508c89f4f4f020001dc8e328110c7a3</application>
<application_name>Workday Orchestration</application_name>
<application_scope>workday_pack</application_scope>
<application_version>1.0.16</application_version>
<collisions/>
<commit_date/>
<deleted/>
<description>Automatically created by the system</description>
<inserted/>
<name>Default</name>
<origin_sys_id/>
<release_date/>
<remote_sys_id>145f960c13521200822150f32244b0a5</remote_sys_id>
<state>loaded</state>
<summary/>
<sys_class_name>sys_remote_update_set</sys_class_name>
<sys_created_by>gopala.venkatachalam@snc</sys_created_by>
<sys_created_on>2016-04-22 19:14:43</sys_created_on>
<sys_id>1661ec8013071200822150f32244b0b7</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>gopala.venkatachalam@snc</sys_updated_by>
<sys_updated_on>2016-04-22 19:14:43</sys_updated_on>
<update_set display_value=""/>
<update_source display_value=""/>
<updated/>
</sys_remote_update_set>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Workday Orchestration">7508c89f4f4f020001dc8e328110c7a3</application>
<category>customer</category>
<comments/>
<name>sys_soap_message_function_3ec804df4f4f020001dc8e328110c769</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="sys_soap_message_function"&gt;&lt;sys_soap_message_function action="INSERT_OR_UPDATE"&gt;&lt;authentication_type/&gt;&lt;basic_auth_password/&gt;&lt;basic_auth_profile display_value=""&gt;&lt;/basic_auth_profile&gt;&lt;basic_auth_user/&gt;&lt;certificate/&gt;&lt;enable_mutual_auth&gt;false&lt;/enable_mutual_auth&gt;&lt;envelope&gt;&lt;![CDATA[&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bsvc="urn:com.workday/bsvc"&gt;
	&lt;soapenv:Body&gt;
      &lt;bsvc:Get_Workers_Request bsvc:version="${workday_API_version}"&gt;
         &lt;!--Optional:--&gt;
         &lt;bsvc:Request_References &gt;
            &lt;!--1 or more repetitions:--&gt;
            &lt;bsvc:Worker_Reference &gt;
               &lt;!--Zero or more repetitions:--&gt;
               &lt;bsvc:ID bsvc:type="Employee_ID"&gt;${Worker_Reference.ID}&lt;/bsvc:ID&gt;
            &lt;/bsvc:Worker_Reference&gt;
         &lt;/bsvc:Request_References&gt;
      &lt;/bsvc:Get_Workers_Request&gt;
   &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;]]&gt;&lt;/envelope&gt;&lt;function_name&gt;Get Worker&lt;/function_name&gt;&lt;key_store/&gt;&lt;key_store_alias/&gt;&lt;key_store_password/&gt;&lt;lock&gt;false&lt;/lock&gt;&lt;protocol_profile/&gt;&lt;soap_action/&gt;&lt;soap_endpoint&gt;https://impl-cc.workday.com/ccx/service/servicenow_pt1/Human_Resources/v24.1/&lt;/soap_endpoint&gt;&lt;soap_message display_value="Workday Orchestration"&gt;c79840df4f4f020001dc8e328110c7dd&lt;/soap_message&gt;&lt;strip_whitespace&gt;false&lt;/strip_whitespace&gt;&lt;sys_class_name&gt;sys_soap_message_function&lt;/sys_class_name&gt;&lt;sys_created_by&gt;gopala.venkatachalam@snc&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2015-10-16 23:37:29&lt;/sys_created_on&gt;&lt;sys_customer_update&gt;true&lt;/sys_customer_update&gt;&lt;sys_id&gt;3ec804df4f4f020001dc8e328110c769&lt;/sys_id&gt;&lt;sys_mod_count&gt;22&lt;/sys_mod_count&gt;&lt;sys_name&gt;Get Worker&lt;/sys_name&gt;&lt;sys_package display_value="Workday Orchestration" source="workday_pack"&gt;7508c89f4f4f020001dc8e328110c7a3&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_replace_on_upgrade&gt;false&lt;/sys_replace_on_upgrade&gt;&lt;sys_scope display_value="Workday Orchestration"&gt;7508c89f4f4f020001dc8e328110c7a3&lt;/sys_scope&gt;&lt;sys_update_name&gt;sys_soap_message_function_3ec804df4f4f020001dc8e328110c769&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2016-03-16 21:39:20&lt;/sys_updated_on&gt;&lt;use_basic_auth&gt;false&lt;/use_basic_auth&gt;&lt;use_mid_server/&gt;&lt;use_ws_security&gt;false&lt;/use_ws_security&gt;&lt;ws_security_type&gt;2105f20ed7101200b93ca5f75e61032c&lt;/ws_security_type&gt;&lt;ws_security_username_profile display_value="workday"&gt;11b1d8f7d7411200b93ca5f75e6103e3&lt;/ws_security_username_profile&gt;&lt;ws_security_x509_profile/&gt;&lt;/sys_soap_message_function&gt;&lt;/record_update&gt;</payload>
<remote_update_set display_value="Default">1661ec8013071200822150f32244b0b7</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>gopala.venkatachalam@snc</sys_created_by>
<sys_created_on>2016-04-22 19:14:43</sys_created_on>
<sys_id>9661ec8013071200822150f32244b0b7</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>gopala.venkatachalam@snc</sys_updated_by>
<sys_updated_on>2016-04-22 19:14:43</sys_updated_on>
<table/>
<target_name>Get Worker</target_name>
<type>SOAP Message Function</type>
<update_domain>global</update_domain>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Workday Orchestration">7508c89f4f4f020001dc8e328110c7a3</application>
<category>customer</category>
<comments/>
<name>wf_element_activity_34672c934fcf020001dc8e328110c78b</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="wf_element_activity"&gt;&lt;wf_element_activity action="INSERT_OR_UPDATE"&gt;&lt;access&gt;public&lt;/access&gt;&lt;attributes/&gt;&lt;base_provider display_value="SOAP Web Service"&gt;1043b11237132100aa40cc9fbe41f11a&lt;/base_provider&gt;&lt;category/&gt;&lt;checked_out_by/&gt;&lt;default_height/&gt;&lt;default_width/&gt;&lt;description&gt;Activity to get an employee's information from Workday&amp;#13;
&amp;#13;
Note: You need to configure the SOAP message -&amp;gt; "Get Worker" with SOAP endpoint and update Workday credential before using this activity.&amp;#13;
	Steps to update Workday credential: Update in Employee Orchestration &amp;gt; Workday Credential.&amp;#13;
&amp;#13;
Inputs:&amp;#13;
   employee_id: Workday employee id&amp;#13;
&amp;#13;
Outputs:&amp;#13;
   status_code: contains the status code returned from the web service&amp;#13;
   error: returns the error string from the SOAP web service, unless there are no errors, in which case it returns null&amp;#13;
   employee_wid: employee system id in workday, e.g., 73528cac9c871079a947ebe000c72de2&amp;#13;
   user_id: user id in workday, e.g., mgandhi&amp;#13;
   first_name: first name of the employee&amp;#13;
   last_name: last name of the employee&amp;#13;
   employee_number: Workday employee id&amp;#13;
   first_day_of_work: first day of employment&amp;#13;
   work_address: an object contains work address information: address_line1, city, state, country and postal_code&amp;#13;
   home_address: an object contains home address information: address_line1, city, state, country and postal_code&amp;#13;
   work_phone: an object contains work phone information: international_phone_code, area_code and phone_number&amp;#13;
   cell_phone: an object contains cell phone information: international_phone_code, area_code and phone_number&amp;#13;
   home_email: email address for home type&amp;#13;
   work_email: email address for work type&amp;#13;
   validation_error: validation error return from Workday if any &amp;#13;
&amp;#13;
Conditions:&amp;#13;
    Employee exists: this employee exists in Workday instance&amp;#13;
    Employee doesn't exist: this employee does not exist in Workday instance or employee id is not valid&amp;#13;
    Failure: the activity failed to connect to Workday instance&amp;#13;
&amp;#13;
This activity was developed against the following Workday API:&amp;#13;
https://community.workday.com/custom/developer/API/Human_Resources/v24.1/Get_Workers.html&lt;/description&gt;&lt;image&gt;images/activities/icons/workday.png&lt;/image&gt;&lt;input_meta&gt;{"name":"Input","type":"DATA_OBJECT","properties":[{"name":"employee_id","type":"STRING","mandatory":true},{"name":"username_token_sys_id","type":"STRING","mandatory":true,"defaultValue":"11b1d8f7d7411200b93ca5f75e6103e3"}]}&lt;/input_meta&gt;&lt;input_process_script/&gt;&lt;input_transform&gt;{"web_service_message":"c79840df4f4f020001dc8e328110c7dd","web_service_message_function":"3ec804df4f4f020001dc8e328110c769","web_service_endpoint":"","parameters":"[{\"name\":\"API_VERSION\",\"value\":\"v24.1\",\"additional_attribute\":\"none\"},{\"name\":\"Worker_Reference.ID\",\"value\":\"${activityInput.employee_id}\",\"additional_attribute\":\"none\"}]","use_mid_server":"true","midCapabilities":"9df941930a00067818fcb3834b216f8f","time_out":"10","auth_type":"use_existing_credentials","credentials":"","protocol_profile":"","username_profile":"${activityInput.username_token_sys_id}"}&lt;/input_transform&gt;&lt;local_variables&gt;{"name":"Local","type":"DATA_OBJECT","properties":[{"name":"address_data_1","type":"DATA_OBJECT","properties":[{"name":"country","type":"STRING"},{"name":"address_line1","type":"STRING"},{"name":"city","type":"STRING"},{"name":"state","type":"STRING"},{"name":"postal_code","type":"STRING"},{"name":"communication_usage_type_id","type":"STRING"}]},{"name":"address_data_2","type":"DATA_OBJECT","properties":[{"name":"country","type":"STRING"},{"name":"address_line1","type":"STRING"},{"name":"city","type":"STRING"},{"name":"state","type":"STRING"},{"name":"postal_code","type":"STRING"},{"name":"communication_usage_type_id","type":"STRING"}]},{"name":"phone_data_1","type":"DATA_OBJECT","properties":[{"name":"area_code","type":"STRING"},{"name":"phone_number","type":"STRING"},{"name":"communication_usage_type_id","type":"STRING"},{"name":"international_phone_code","type":"STRING"}]},{"name":"phone_data_2","type":"DATA_OBJECT","properties":[{"name":"area_code","type":"STRING"},{"name":"phone_number","type":"STRING"},{"name":"communication_usage_type_id","type":"STRING"},{"name":"international_phone_code","type":"STRING"}]},{"name":"email_address_data_1","type":"DATA_OBJECT","properties":[{"name":"email","type":"STRING"},{"name":"communication_usage_type_id","type":"STRING"}]},{"name":"email_address_data_2","type":"DATA_OBJECT","properties":[{"name":"email","type":"STRING"},{"name":"communication_usage_type_id","type":"STRING"}]}]}&lt;/local_variables&gt;&lt;name&gt;Get Employee Info&lt;/name&gt;&lt;output_meta&gt;{"name":"Output","type":"DATA_OBJECT","properties":[{"name":"status_code","type":"INTEGER"},{"name":"error","type":"STRING"},{"name":"employee_wid","type":"STRING"},{"name":"user_id","type":"STRING"},{"name":"first_name","type":"STRING"},{"name":"last_name","type":"STRING"},{"name":"employee_number","type":"STRING"},{"name":"first_day_of_work","type":"STRING"},{"name":"work_address","type":"DATA_OBJECT","properties":[{"name":"country","type":"STRING"},{"name":"address_line1","type":"STRING"},{"name":"city","type":"STRING"},{"name":"state","type":"STRING"},{"name":"postal_code","type":"STRING"}]},{"name":"home_address","type":"DATA_OBJECT","properties":[{"name":"country","type":"STRING"},{"name":"address_line1","type":"STRING"},{"name":"city","type":"STRING"},{"name":"state","type":"STRING"},{"name":"postal_code","type":"STRING"}]},{"name":"work_phone","type":"DATA_OBJECT","properties":[{"name":"area_code","type":"STRING"},{"name":"phone_number","type":"STRING"},{"name":"international_phone_code","type":"STRING"}]},{"name":"cell_phone","type":"DATA_OBJECT","properties":[{"name":"area_code","type":"STRING"},{"name":"phone_number","type":"STRING"},{"name":"international_phone_code","type":"STRING"}]},{"name":"home_email","type":"STRING"},{"name":"work_email","type":"STRING"},{"name":"validation_error","type":"STRING"}]}&lt;/output_meta&gt;&lt;output_process_script&gt;&lt;![CDATA[var parseState = function(stateInfo){
	if (gs.nil(stateInfo)) {
	   // if state info is empty, we just return empty
	   return "";
    } else {
	   // Country_Region_ID has the format "USA-CA" 
	   var start = stateInfo.indexOf("-");
	   var end = stateInfo.length;
	   return stateInfo.substring(start+1,end);
    }
};

var isWorkType = function(typeId) {
	return !gs.nil(typeId) &amp;&amp; typeId == "WORK";
};

var isHomeType = function(typeId) {
	return !gs.nil(typeId) &amp;&amp; typeId == "HOME";
};

// address_data_1 could be "WORK" or "HOME" type, so we need to check each one to assign to appropriate one
// same for phone_data_1 and email_address_data_1.

var workAddress = {}, homeAddress = {}, workPhone = {}, cellPhone = {};

if (isWorkType(activityLocal.address_data_1.communication_usage_type_id)) {
	workAddress = activityLocal.address_data_1;
} else if (isWorkType(activityLocal.address_data_2.communication_usage_type_id)) {
	workAddress = activityLocal.address_data_2;
}
activityOutput.work_address.address_line1 = workAddress.address_line1;
activityOutput.work_address.country = workAddress.country;
activityOutput.work_address.city = workAddress.city;
activityOutput.work_address.state = parseState(workAddress.state);
activityOutput.work_address.postal_code = workAddress.postal_code;

if (isHomeType(activityLocal.address_data_1.communication_usage_type_id)) {
	homeAddress = activityLocal.address_data_1;
} else if (isHomeType(activityLocal.address_data_2.communication_usage_type_id)) {
	homeAddress = activityLocal.address_data_2;
}
activityOutput.home_address.address_line1 = homeAddress.address_line1;
activityOutput.home_address.country = homeAddress.country;
activityOutput.home_address.city = homeAddress.city;
activityOutput.home_address.state = parseState(homeAddress.state);
activityOutput.home_address.postal_code = homeAddress.postal_code;

if (isWorkType(activityLocal.phone_data_1.communication_usage_type_id)) {
	workPhone = activityLocal.phone_data_1;
} else if (isWorkType(activityLocal.phone_data_2.communication_usage_type_id)) {
	workPhone = activityLocal.phone_data_2;
}
activityOutput.work_phone.area_code = workPhone.area_code;
activityOutput.work_phone.phone_number = workPhone.phone_number;
activityOutput.work_phone.international_phone_code = workPhone.international_phone_code;

if (isHomeType(activityLocal.phone_data_1.communication_usage_type_id)) {
	cellPhone = activityLocal.phone_data_1;
} else if (isHomeType(activityLocal.phone_data_2.communication_usage_type_id)) {
	cellPhone = activityLocal.phone_data_2;
}
activityOutput.cell_phone.area_code = cellPhone.area_code;
activityOutput.cell_phone.phone_number = cellPhone.phone_number;
activityOutput.cell_phone.international_phone_code = cellPhone.international_phone_code;

if (isWorkType(activityLocal.email_address_data_1.communication_usage_type_id)) {
	activityOutput.work_email = activityLocal.email_address_data_1.email;
} else if (isWorkType(activityLocal.email_address_data_2.communication_usage_type_id)) {
	activityOutput.work_email = activityLocal.email_address_data_2.email;
}

if (isHomeType(activityLocal.email_address_data_1.communication_usage_type_id)) {
	activityOutput.home_email = activityLocal.email_address_data_1.email;
} else if (isHomeType(activityLocal.email_address_data_2.communication_usage_type_id)) {
	activityOutput.home_email = activityLocal.email_address_data_2.email;
}]]&gt;&lt;/output_process_script&gt;&lt;output_transform&gt;[{"toLink":"activityOutput.status_code","description":"","to":"status_code","toType":"string","toDestination":"activityOutput","sourceLabel":"executionResult.status_code","from":"${executionResult.status_code}","fromSource":"executionResult","type":"Direct","children":"[]","translation":""},{"toLink":"activityOutput.error","description":"","to":"error","toType":"string","toDestination":"activityOutput","sourceLabel":"executionResult.error","from":"${executionResult.error}","fromSource":"executionResult","type":"Direct","children":"[]","translation":""},{"toLink":"activityOutput.employee_wid","description":"","to":"employee_wid","toType":"string","toDestination":"activityOutput","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Request_References/Worker_Reference/ID[@type=\"WID\"]"},{"toLink":"activityOutput.user_id","description":"","to":"user_id","toType":"string","toDestination":"activityOutput","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/User_ID"},{"toLink":"activityOutput.first_name","description":"","to":"first_name","toType":"string","toDestination":"activityOutput","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Name_Data/Legal_Name_Data/Name_Detail_Data/First_Name"},{"toLink":"activityOutput.last_name","description":"","to":"last_name","toType":"string","toDestination":"activityOutput","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Name_Data/Legal_Name_Data/Name_Detail_Data/Last_Name"},{"toLink":"activityOutput.employee_number","description":"","to":"employee_number","toType":"string","toDestination":"activityOutput","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Request_References/Worker_Reference/ID[@type=\"Employee_ID\"]"},{"toLink":"activityOutput.first_day_of_work","description":"","to":"first_day_of_work","toType":"string","toDestination":"activityOutput","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Employment_Data/Worker_Status_Data/First_Day_of_Work"},{"toLink":"activityLocal.address_data_1.country","description":"","to":"address_data_1.country","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Address_Data[1]/Country_Reference/ID[@type=\"ISO_3166-1_Alpha-3_Code\"]"},{"toLink":"activityLocal.address_data_1.address_line1","description":"","to":"address_data_1.address_line1","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Address_Data[1]/Address_Line_Data[@Descriptor=\"Address Line 1\"]"},{"toLink":"activityLocal.address_data_1.city","description":"","to":"address_data_1.city","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Address_Data[1]/Municipality"},{"toLink":"activityLocal.address_data_1.state","description":"","to":"address_data_1.state","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Address_Data[1]/Country_Region_Reference/ID[@type=\"Country_Region_ID\"]"},{"toLink":"activityLocal.address_data_1.postal_code","description":"","to":"address_data_1.postal_code","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Address_Data[1]/Postal_Code"},{"toLink":"activityLocal.address_data_1.communication_usage_type_id","description":"","to":"address_data_1.communication_usage_type_id","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Address_Data[1]/Usage_Data/Type_Data/Type_Reference/ID[@type=\"Communication_Usage_Type_ID\"]"},{"toLink":"activityLocal.address_data_2.country","description":"","to":"address_data_2.country","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Address_Data[2]/Country_Reference/ID[@type=\"ISO_3166-1_Alpha-3_Code\"]"},{"toLink":"activityLocal.address_data_2.address_line1","description":"","to":"address_data_2.address_line1","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Address_Data[2]/Address_Line_Data[@Descriptor=\"Address Line 1\"]"},{"toLink":"activityLocal.address_data_2.city","description":"","to":"address_data_2.city","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Address_Data[2]/Municipality"},{"toLink":"activityLocal.address_data_2.state","description":"","to":"address_data_2.state","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Address_Data[2]/Country_Region_Reference/ID[@type=\"Country_Region_ID\"]"},{"toLink":"activityLocal.address_data_2.postal_code","description":"","to":"address_data_2.postal_code","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Address_Data[2]/Postal_Code"},{"toLink":"activityLocal.address_data_2.communication_usage_type_id","description":"","to":"address_data_2.communication_usage_type_id","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Address_Data[2]/Usage_Data/Type_Data/Type_Reference/ID[@type=\"Communication_Usage_Type_ID\"]"},{"toLink":"activityLocal.phone_data_1.area_code","description":"","to":"phone_data_1.area_code","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Phone_Data[1]/Area_Code"},{"toLink":"activityLocal.phone_data_1.phone_number","description":"","to":"phone_data_1.phone_number","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Phone_Data[1]/Phone_Number"},{"toLink":"activityLocal.phone_data_1.communication_usage_type_id","description":"","to":"phone_data_1.communication_usage_type_id","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Phone_Data[1]/Usage_Data/Type_Data/Type_Reference/ID[@type=\"Communication_Usage_Type_ID\"]"},{"toLink":"activityLocal.phone_data_1.international_phone_code","description":"","to":"phone_data_1.international_phone_code","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Phone_Data[1]/International_Phone_Code"},{"toLink":"activityLocal.email_address_data_1.email","description":"","to":"email_address_data_1.email","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Email_Address_Data[1]/Email_Address"},{"toLink":"activityLocal.email_address_data_1.communication_usage_type_id","description":"","to":"email_address_data_1.communication_usage_type_id","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Email_Address_Data[1]/Usage_Data/Type_Data/Type_Reference/ID[@type=\"Communication_Usage_Type_ID\"]"},{"toLink":"activityLocal.email_address_data_2.email","description":"","to":"email_address_data_2.email","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Email_Address_Data[2]/Email_Address"},{"toLink":"activityLocal.email_address_data_2.communication_usage_type_id","description":"","to":"email_address_data_2.communication_usage_type_id","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Email_Address_Data[2]/Usage_Data/Type_Data/Type_Reference/ID[@type=\"Communication_Usage_Type_ID\"]"},{"toLink":"activityLocal.phone_data_2.area_code","description":"","to":"phone_data_2.area_code","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Phone_Data[2]/Area_Code"},{"toLink":"activityLocal.phone_data_2.phone_number","description":"","to":"phone_data_2.phone_number","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Phone_Data[2]/Phone_Number"},{"toLink":"activityLocal.phone_data_2.communication_usage_type_id","description":"","to":"phone_data_2.communication_usage_type_id","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Phone_Data[2]/Usage_Data/Type_Data/Type_Reference/ID[@type=\"Communication_Usage_Type_ID\"]"},{"toLink":"activityLocal.phone_data_2.international_phone_code","description":"","to":"phone_data_2.international_phone_code","toType":"string","toDestination":"activityLocal","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Get_Workers_Response/Response_Data/Worker/Worker_Data/Personal_Data/Contact_Data/Phone_Data[2]/International_Phone_Code"},{"toLink":"activityOutput.validation_error","description":"","to":"validation_error","toType":"string","toDestination":"activityOutput","sourceLabel":"executionResult.body","from":"${executionResult.body}","fromSource":"executionResult","type":"XML","children":"[]","translation":"/Envelope/Body/Fault/detail/Validation_Fault/Validation_Error"}]&lt;/output_transform&gt;&lt;processing_script/&gt;&lt;sample_payloads&gt;{}&lt;/sample_payloads&gt;&lt;short_description&gt;Activity to get employee info from Workday given a workday employee id&lt;/short_description&gt;&lt;style/&gt;&lt;sys_class_name&gt;wf_element_activity&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2016-04-21 21:27:20&lt;/sys_created_on&gt;&lt;sys_customer_update&gt;true&lt;/sys_customer_update&gt;&lt;sys_id&gt;c326372f13f21200822150f32244b060&lt;/sys_id&gt;&lt;sys_mod_count&gt;2&lt;/sys_mod_count&gt;&lt;sys_name&gt;Get Employee Info&lt;/sys_name&gt;&lt;sys_package display_value="Workday Orchestration" source="workday_pack"&gt;7508c89f4f4f020001dc8e328110c7a3&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_replace_on_upgrade&gt;false&lt;/sys_replace_on_upgrade&gt;&lt;sys_scope display_value="Workday Orchestration"&gt;7508c89f4f4f020001dc8e328110c7a3&lt;/sys_scope&gt;&lt;sys_update_name&gt;wf_element_activity_c326372f13f21200822150f32244b060&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2016-04-21 21:27:56&lt;/sys_updated_on&gt;&lt;version_container_id&gt;34672c934fcf020001dc8e328110c78b&lt;/version_container_id&gt;&lt;/wf_element_activity&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=c326372f13f21200822150f32244b060"/&gt;&lt;wf_versionable action="INSERT_OR_UPDATE"&gt;&lt;checked_out/&gt;&lt;checked_out_by/&gt;&lt;published&gt;true&lt;/published&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2016-04-21 21:27:20&lt;/sys_created_on&gt;&lt;sys_id&gt;c726372f13f21200822150f32244b060&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2016-04-21 21:27:56&lt;/sys_updated_on&gt;&lt;valid_from&gt;2016-04-21 21:27:56&lt;/valid_from&gt;&lt;valid_to/&gt;&lt;version&gt;2&lt;/version&gt;&lt;version_container_id&gt;34672c934fcf020001dc8e328110c78b&lt;/version_container_id&gt;&lt;wf_element_definition display_value="Get Employee Info"&gt;c326372f13f21200822150f32244b060&lt;/wf_element_definition&gt;&lt;/wf_versionable&gt;&lt;wf_condition_default action="INSERT_OR_UPDATE"&gt;&lt;activity_definition display_value="Get Employee Info"&gt;c326372f13f21200822150f32244b060&lt;/activity_definition&gt;&lt;condition/&gt;&lt;derived_definition&gt;2b4d94f6d7011200b93ca5f75e6103c2&lt;/derived_definition&gt;&lt;else_flag&gt;true&lt;/else_flag&gt;&lt;error&gt;false&lt;/error&gt;&lt;event&gt;false&lt;/event&gt;&lt;event_name/&gt;&lt;name&gt;Failure&lt;/name&gt;&lt;order&gt;300&lt;/order&gt;&lt;short_description/&gt;&lt;skip_during_generate&gt;false&lt;/skip_during_generate&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2016-04-21 21:27:20&lt;/sys_created_on&gt;&lt;sys_id&gt;0f26372f13f21200822150f32244b060&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2016-04-21 21:27:20&lt;/sys_updated_on&gt;&lt;/wf_condition_default&gt;&lt;wf_condition_default action="INSERT_OR_UPDATE"&gt;&lt;activity_definition display_value="Get Employee Info"&gt;c326372f13f21200822150f32244b060&lt;/activity_definition&gt;&lt;condition&gt;activityOutput.error == null &amp;amp;&amp;amp; activityOutput.employee_number != null&lt;/condition&gt;&lt;derived_definition&gt;00e28b71d7301200b93ca5f75e61032b&lt;/derived_definition&gt;&lt;else_flag&gt;false&lt;/else_flag&gt;&lt;error&gt;false&lt;/error&gt;&lt;event&gt;false&lt;/event&gt;&lt;event_name/&gt;&lt;name&gt;Employee exists&lt;/name&gt;&lt;order&gt;100&lt;/order&gt;&lt;short_description/&gt;&lt;skip_during_generate&gt;false&lt;/skip_during_generate&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2016-04-21 21:27:20&lt;/sys_created_on&gt;&lt;sys_id&gt;8b26372f13f21200822150f32244b060&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2016-04-21 21:27:20&lt;/sys_updated_on&gt;&lt;/wf_condition_default&gt;&lt;wf_condition_default action="INSERT_OR_UPDATE"&gt;&lt;activity_definition display_value="Get Employee Info"&gt;c326372f13f21200822150f32244b060&lt;/activity_definition&gt;&lt;condition&gt;activityOutput.validation_error != null&lt;/condition&gt;&lt;derived_definition&gt;3733cb71d7301200b93ca5f75e610395&lt;/derived_definition&gt;&lt;else_flag&gt;false&lt;/else_flag&gt;&lt;error&gt;false&lt;/error&gt;&lt;event&gt;false&lt;/event&gt;&lt;event_name/&gt;&lt;name&gt;Employee doesn't exist&lt;/name&gt;&lt;order&gt;200&lt;/order&gt;&lt;short_description/&gt;&lt;skip_during_generate&gt;false&lt;/skip_during_generate&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2016-04-21 21:27:20&lt;/sys_created_on&gt;&lt;sys_id&gt;8f26372f13f21200822150f32244b060&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2016-04-21 21:27:20&lt;/sys_updated_on&gt;&lt;/wf_condition_default&gt;&lt;wf_versionable action="update_multiple" query="version_container_id=34672c934fcf020001dc8e328110c78b^sys_id!=c726372f13f21200822150f32244b060"&gt;&lt;published&gt;false&lt;/published&gt;&lt;/wf_versionable&gt;&lt;wf_activity action="update_multiple" is_dot_walk_query="true" query="workflow_version.published=true^activity_definition.version_container_id=34672c934fcf020001dc8e328110c78b^pinned=true"&gt;&lt;new_activity_definition&gt;c326372f13f21200822150f32244b060&lt;/new_activity_definition&gt;&lt;out_of_date&gt;true&lt;/out_of_date&gt;&lt;notes&gt;There is a newer version of this activity. To update the activity, check out the workflow, select the activity, right click and select update activity to use the latest version.&lt;/notes&gt;&lt;/wf_activity&gt;&lt;wf_activity action="update_multiple" is_dot_walk_query="true" query="workflow_version.published=true^activity_definition.version_container_id=34672c934fcf020001dc8e328110c78b^pinned=false"&gt;&lt;activity_definition&gt;c326372f13f21200822150f32244b060&lt;/activity_definition&gt;&lt;activity_definition_updated&gt;true&lt;/activity_definition_updated&gt;&lt;notes&gt;This activity was updated to a newer version since the workflow was published.&lt;/notes&gt;&lt;/wf_activity&gt;&lt;/record_update&gt;</payload>
<remote_update_set display_value="Default">1661ec8013071200822150f32244b0b7</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>gopala.venkatachalam@snc</sys_created_by>
<sys_created_on>2016-04-22 19:14:43</sys_created_on>
<sys_id>d661ec8013071200822150f32244b0b7</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>gopala.venkatachalam@snc</sys_updated_by>
<sys_updated_on>2016-04-22 19:14:43</sys_updated_on>
<table/>
<target_name>Get Employee Info</target_name>
<type>Activity Designer</type>
<update_domain>global</update_domain>
<update_set display_value=""/>
<view/>
</sys_update_xml>
</unload>
