Every variable works fine except $plan.roles$. This variable is a list, and the corresponding attribute in the account schema is marked as entitlement. The API operation is: “add-entitlement”. I am sure that the provisioning plan containts an attribute request called “roles” but I am not sure why the body of my API calls does not contain the values.
Hello Rakesh,
My problem was on operation add entitlement. the endpoint requires that we provide mandatory information (Login, Last Name, First Name and company code) on top of the roles that need to be added.
We have realized that for some reason on the add entitlement operation, IDN removed all fields that were not flagged as entitlements or were not the native Identity, even thought we have a before provisioning rule to add all the necessary infomration in the plan.
To solve this issue we created a before Operation rule to add those fields in the API body.