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

RoleCode(EntilementID) need to pass through createaccjson using rest connector

Bhargavi3
New Contributor
New Contributor

Hi Team,

Our requirement is we need to pass rolecode along with account creation through rest connector. From ARS page, If I raise a request for both create acc and add access , rolecode(EntitlementID) needs to be passed from Createaccountson.

I am using below query to pass entitlement ID, but it is not working.
\"roles\":[{\"roleCode\":\"${(requestAccessAttributes.get('entitlementValue.entitlementID')}\",\"effectiveDays\": [\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\"], \"effectiveAfter\": \"2024-02-12T00:00:00Z\",\"effectiveBefore\": \"2123-02-12T00:00:00Z\"}]

Could someone let me know the binding variable need to use for this requirement.

Thanks,

Bhargavi.

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

You can’t pass entitlement information in create account json. You need to create dynamic attributes and use in create account json


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

Hi @rushikeshvartak ,

Could you please let me know the syntax we need to use in dynamic attribute at endpoint level.

Thanks,

Bhargavi Padaraju.

Refer https://forums.saviynt.com/t5/identity-governance/rest-connector-create-account-json-if-else-using-d...

${requestAccessAttributes.get('RoleName')}


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