Click HERE to see how Saviynt Intelligence is transforming the industry. |
12/06/2022 04:47 PM
When we get users from netsuite, role information returns like below in string format.
in Account,customproperty31, it' showing like below
{“Roles2”:{“entIds”:[“3, 1088”],“keyField”:“entitlementID”}}
whereas its supposed to show like below
{“Roles2":{“entIds”:[“3", “1088”],“keyField”:“entitlementID”}}
can anyone let us know how to solve this issue when integrating netsuite?
12/06/2022 06:41 PM
It is possible by entering the value of CONST in CP31
"customproperty31": "#CONST#${String rolesforsearch = response?.rolesforsearch; if(rolesforsearch == null) return '{}' else {def roles = ['Roles2':['entIds':rolesforsearch?.split(', '),'keyField':'entitlementID']]; new groovy.json.JsonBuilder(roles)?.toString()}}~#~char"
02/01/2023 02:08 PM - edited 02/01/2023 02:09 PM
@ejeong I see that this is related to Connectors and not to PAM. But, did you try the solution @John_H_Jeon suggested? did it work? If yes, please mark that as the solution so that it benefits others.