Workday Connector - ON_LEAVE Attribute support for multiple leave events

Here is an example from our environment (with some redacted data), where the field is multi-valued. You an see the first entry is for a prior leave which is no longer active, and the second entry is for the current active leave. We had to update our XPath to account for this, otherwise the first entry takes precedence and inaccurately reported that this user was not on leave.

Our HR team has also verified that a user could be on multiple active leaves at a given time.

<wd:Leave_Status_Data>
    <wd:Leave_Request_Event_Reference>
        <wd:ID wd:type="WID">REDACTED</wd:ID>
        <wd:ID wd:type="Request_Leave_of_Absence_ID">LEAVE_REQUEST_EVENT-3-350</wd:ID>
    </wd:Leave_Request_Event_Reference>
    <wd:Leave_Request_Description>Absence Request: Redacted Name</wd:Leave_Request_Description>
    <wd:Leave_Return_Event_Reference>
        <wd:ID wd:type="WID">REDACTED</wd:ID>
    </wd:Leave_Return_Event_Reference>
    <wd:On_Leave>0</wd:On_Leave>
    <wd:Leave_Start_Date>2024-02-05</wd:Leave_Start_Date>
    <wd:Estimated_Leave_End_Date>2024-02-06</wd:Estimated_Leave_End_Date>
    <wd:Leave_End_Date>2024-02-06</wd:Leave_End_Date>
    <wd:Leave_Last_Day_of_Work>2024-02-04</wd:Leave_Last_Day_of_Work>
    <wd:Leave_of_Absence_Type_Reference>
        <wd:ID wd:type="WID">REDACTED</wd:ID>
        <wd:ID wd:type="Event_Classification_Subcategory_ID">NLD_Sick_Leave</wd:ID>
        <wd:ID wd:type="Leave_of_Absence_Type_ID">NLD_Sick_Leave</wd:ID>
    </wd:Leave_of_Absence_Type_Reference>
    <wd:Benefits_Effect>0</wd:Benefits_Effect>
    <wd:Payroll_Effect>0</wd:Payroll_Effect>
    <wd:Paid_Time_Off_Accrual_Effect>0</wd:Paid_Time_Off_Accrual_Effect>
    <wd:Continuous_Service_Accrual_Effect>0</wd:Continuous_Service_Accrual_Effect>
    <wd:Stock_Vesting_Effect>0</wd:Stock_Vesting_Effect>
</wd:Leave_Status_Data>
<wd:Leave_Status_Data>
    <wd:Leave_Request_Event_Reference>
        <wd:ID wd:type="WID">REDACTED</wd:ID>
        <wd:ID wd:type="Request_Leave_of_Absence_ID">LEAVE_REQUEST_EVENT-3-735</wd:ID>
    </wd:Leave_Request_Event_Reference>
    <wd:Leave_Request_Description>Absence Request: Redacted Name</wd:Leave_Request_Description>
    <wd:On_Leave>1</wd:On_Leave>
    <wd:Leave_Start_Date>2024-06-05</wd:Leave_Start_Date>
    <wd:Estimated_Leave_End_Date>2024-10-31</wd:Estimated_Leave_End_Date>
    <wd:Leave_Last_Day_of_Work>2024-06-04</wd:Leave_Last_Day_of_Work>
    <wd:Leave_of_Absence_Type_Reference>
        <wd:ID wd:type="WID">REDACTED</wd:ID>
        <wd:ID wd:type="Event_Classification_Subcategory_ID">GBL_Garden_Leave</wd:ID>
        <wd:ID wd:type="Leave_of_Absence_Type_ID">GBL_Garden_Leave</wd:ID>
    </wd:Leave_of_Absence_Type_Reference>
    <wd:Benefits_Effect>0</wd:Benefits_Effect>
    <wd:Payroll_Effect>1</wd:Payroll_Effect>
    <wd:Paid_Time_Off_Accrual_Effect>0</wd:Paid_Time_Off_Accrual_Effect>
    <wd:Continuous_Service_Accrual_Effect>0</wd:Continuous_Service_Accrual_Effect>
    <wd:Stock_Vesting_Effect>0</wd:Stock_Vesting_Effect>
</wd:Leave_Status_Data>