Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/12/2022 01:01 PM
We have a requirement to obtain the dynamic attribute value selected over the request form and update the same in Active Directory during the account creation
PFB syntax used in CREATEACCOUNTJSON
"title": "${if(requestAccessAttributes?.get('Field1')=='EMEIA'){user.title}else {if(requestAccessAttributes?.get('Field1')=='APAC'){user.title}else{''}}}"
title – AD Attribute
Field1 – Dynamic attribute in Saviynt Request form
user.title – Title field in Saviynt
AD connector guide says it should be feasible to fetch dynamic attribute -
Syntax: "${requestAccessAttributes.get('TimezoneCode')}
But we are getting the below ERROR during the account creation:
“groovy.lang.MissingPropertyException: No such property: requestAccessAttributes for class” .
Can anyone please help us with this? thanks in advance.
Regards,
Ksheetij
Solved! Go to Solution.
04/12/2022 02:11 PM
Hello Ksheetij,
You can use the dynamic attributes in provisioning JSONs. For example, dynamic attribute name : dynManager then you can use it in JSON like : ${dynManager}.
Thanks,
Pallavi