Group Aggregation: Retrieving role ID and role name, with one entitlement type = group, where application_role_id== Entitlement ID and application_role_name== Entitlement Name. The application_role_id is also mapped as a group Entitlement in the Account schema.
However, I’m struggling with the Add Entitlement part. In the same provisioning plan request, I receive Entitlement 1 and Entitlement 2 values under “application_role_name”. I want to use these values to make individual API calls for each entitlement.
Question: How can I achieve this in my scenario? Is there a way to iterate over the entitlements in the provisioning plan and make separate API calls for each one?
Any guidance or examples would be greatly appreciated.
For the “Create Account” operation, I only need to use the “security_profile” value, as it’s mandatory for the API call.
After Account creation, for the “Add Entitlement” operation, I want to retrieve the “application_role_name” values and make separate API calls for each value. If there are multiple values, I want to iterate over them and make individual API calls.
I don’t have any mapping defined, I added logs in the before operation rule and after operation rule to check if the Http operation is executed - multiple times or single time.