Support Additional Multi-value Attributes for XPATH

The Workday source provides support to aggregate multi-valued attributes.

To fetch the additional multi-value Workday attributes during account aggregation, perform the following:

  1. Add the attributes to the account schema and mark them as multi-valued.
  2. Provide the XPATH for those attributes in the application debug page.

    For example, to fetch roles, add an entry in the XpathAttributesMap as follows, where the value of the entry will be the XPATH required to fetch the required field:

    key="Organization_Role"

    value="ns1:Worker_Data/ns1:Role_Data/
    ns1:Organization_Role_Data/ns1:Organization_Role[*]/
    ns1:Organization_Role_Reference/ns1:ID[@ns1:type='Organization_Role_ID']

    Note
    The asterisk [*] is used to select a list of nodes matching the XPATH expression.

The mention of the expression [*] in the XPATH will fetch all the values pertaining to the (said) attribute in the account schema.