Transform for multi-valued Account Attributes

Is there a way to get all the values of a multi-valued account attribute and set that as comma separated on an Identity Attribute?

For example a user can have multiple job codes from PeopleSoft and we want an Identity Attribute with “jobCode1, jobCode2, jobCode3” that can later be provisioned to Active Directory using

“multi”: true,
“cloudDelimiter”: “,”

Is this possible using Transforms or are there any example rules for this use case?

1 Like

Hi Edward,

to do this definitely you need an identityAttribute rule, a transform doesn’t support this operation but you can iterate over a multivalue attribute using IDN Rule Utility:

List entitlements = (List) idn.getRawAccountAttribute(sourceName, nativeIdentity, accountAttribute);

1 Like