Hi All,
We have configure workday as auth source. We have a requirement to pull multiple non primary COMPANY_CODE, DEPARTMENT_ID attributes. I have added these fields into account schema and marked them as multi-valued. Added below xpath in source.
"ADDITIONAL_COMPANY_CODE": "ns1:Worker_Data/ns1:Employment_Data/ns1:Worker_Job_Data[@ns1:Primary_Job='false']/ns1:Position_Organizations_Data/ns1:Position_Organization_Data[*]/ns1:Organization_Data[ns1:Organization_Subtype_Reference/ns1:ID[@ns1:type='Organization_Subtype_ID']='Company']/ns1:Organization_Code",
"ADDITIONAL_DEPARTMENT_ID": "ns1:Worker_Data/ns1:Employment_Data/ns1:Worker_Job_Data[@ns1:Primary_Job='false']/ns1:Position_Organizations_Data/ns1:Position_Organization_Data[*]/ns1:Organization_Data[ns1:Organization_Subtype_Reference/ns1:ID[@ns1:type='Organization_Subtype_ID'] ='CC Number']/ns1:Organization_Code"
We can aggregate multiple values on the account. However, when I check, it appears as ‘[object Object]’ on the screen. When I click on the ‘View All’ link, it highlights below, opens a new window, and displays the correct value. What steps should I take to remove the ‘[object Object]’ so that all the values appear directly under the account attribute?