Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Error when submitting a request with an entitlement

Thriller
Regular Contributor
Regular Contributor

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
Honored Contributor II
Honored Contributor II

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 this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.