Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Error when submitting a request with an entitlement

Thriller
New Contributor II
New Contributor II

I have a requirement where if someone submits a request for an application account and adds in an entitlement 'Supervisor_Group' via REQUEST an attribute 'SecurityGroupID' need to be populated with a value 'CG_TEAM'

Note: Entitlement ValueKey of 'Supervisor_Group' is 236126

I tried the below code under 'CreateAccountJSON' but it is giving me the below error
\"SecurityGroupID\":\"${if((arsTasks.source.equals('REQUEST')) && (arsTasks.ENTITLEMENT_VALUEKEY.equals('236126'))) {'CC_TEAM'} else {''}}\"

Thriller_0-1714931682211.png

 



2 REPLIES 2

NM
Regular Contributor III
Regular Contributor III

Hi @Thriller , entitlement won't be exposed in create account task .. try creating a dynamic attribute with entitlement and pass the same in create json..

rushikeshvartak
All-Star
All-Star

You need to use dynamic attributes for Create Account JSON as Entitlement Object is only exposed in Add & Remove Access JSON


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.