Hi Guys,
I have a Web Services integration that, when altering a user, needs to send the entitlements the user will have in the Body. Therefore, if the user has 3 entitlements, the body will look something like this:
json
{
"roles": [
{
"id": "2929292929",
"id": "9839499433",
"id": "3939394812"
}
]
}
Each ID represents the internal ID of the entitlement in the application.
If I send only one ID, the application will delete all the others and leave only that one.
With this in mind, I created a Before Rule that summarizes the entitlements and places them in the body. However, I’m facing a difficulty where each entitlement is going to a different operation with a different plan, making it difficult for the Before Rule to analyze the access request in its entirety.
Is there a way for the access request to generate only one plan with all the entitlements to be removed/added so that the Before Rule can analyze and construct the body correctly?
This is not only in Create with Entitlement, its also in Add/Remove more than 1 entitlement.
Thanks.