Webservice connector Account Ent Mapping Issue

Hi Team,

I have an api that gets the account values in json.
each other has some additional roles which are entitlement.
The issue is they are coming in json as , seperated.

such as “roles”: “rolea, roleb”

how can we consume these roles in sailpoint?

Well, it will be consume as role a , role b. and the rolea and roleb will be interpreted as ids.

you need configure as entitlement also and multi valued

Ohh i thought sailpoint expects values in list for multi values options

It will consume as individual values, YES!

Sorry if i confused you.

Hi

If the JSON has them as array eg [ 'rolea', roleb' ] then all you need to do is mark it as multi-valued in account schema

If it is a string "rolea, roleb" then you can use Web Service After Operation to

  1. Get that attribute
  2. Split the string into its values
  3. Add values to array
  4. Add array to the account object