Workday SaaS Multivalued attribute xpath

Hi Team,

I have configured the Workday SaaS connector and need to fetch multiple Position (Job) Titles.
I created a new field called SECOND_POSITION_TITLE and would like it to populate all non-primary position titles. like mutlivalues
I configured the following XPath, but I am only able to retrieve the single value. I can see multiple non primary job titles in SOAP Response.

I have already enabled ‘Include_Additional_Jobs’ as ‘true’ in response group mapping

wd:Worker_Data/wd:Employment_Data/wd:Worker_Job_Data[2]/wd:Position_Data/wd:Position_Title |wd:Worker_Data/wd:Employment_Data/wd:Worker_Job_Data[3]/wd:Position_Data/wd:Position_Title

Let me know if you have any suggestions to resolve this issue.

can you share the sample soap response here?

Hello Sagar,
Did you mark your account schema attribute to multi-valued? Can you please check?

Thanks
Sandeep

Have you tried:

wd:Worker_Data/wd:Employment_Data/wd:Worker_Job_Data[@wd:Primary_Job="false"]/wd:Position_Data/wd:Position_Title

@Sandeep2025 I marked attribute as multivalued but still its populating single value.

Hi @j_place yes I have tried below xpath

wd:Worker_Data/wd:Employment_Data/wd:Worker_Job_Data[@wd:Primary_Job="0"]/wd:Position_Data/wd:Position_Title

I’m able to retrieve the first non-primary position, but I’m unable to capture the remaining four values in the account field. I tried the following combination to fetch the additional values, but it didn’t work either

wd:Worker_Data/wd:Employment_Data/wd:Worker_Job_Data[@wd:Primary_Job="0"]/wd:Position_Data/wd:Position_Title | wd:Worker_Data/wd:Employment_Data/wd:Worker_Job_Data[1][@wd:Primary_Job="0"]/wd:Position_Data/wd:Position_Title

Is it possible to share Xpath and the soap api response and for this attribute value for a single user?
Thanks!!
Sandeep

Ah - I’ve just realised the gotcha (I think). Identity schema doesn’t support mult-valued attributes FWIK. You’ve marked the source account attribute as multi-valued but it is populating a single valued Identity attribute.

@j_place No, I am unable to populate multi value on workday account attribute. workaround is that I have to create separate account attribute for each non primary position to populate values. But this is not fair way to create separate account attribute for non primary positions.

@j_place Is this something you are saying if we mark workday as authoritative source then it won’t support multi-value attribute feature for account schema?

I dont think I would go that far, but, interestingly the direct connector has documentation on multi-valued fields Support Additional Multi-value Attributes for XPATH but there’s nothing in the SaaS connector documentation - wondering whether it’s a constraint on SaaS. Not saying that it is, just that I’m stumped :wink:

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.