We have one requirement in webservice connector.In this connector we are generating run time token with the help of before operation rule.
On the behalf of business role we need to add or remove the entilement.While we are adding the entitlement through assigning business role it is calling ‘ADD Entilement’ operation which is working as expected. But problem is with ‘Remove entilement’ operation. While we are removing business role , role is getting removed but ‘Remove Entilement’ operation is not calling so it is not updating on the target end. We have written the logic inside “Remove entilement” operation in before rule to remove entitlement.
Please find the “application.xml” file. For the logs, it is not triggering the “remove entitlement” operation rather it is directly removing the business role without updating the value at target end.
Hello @Arpitha1,
Please find the identityRequest.xml for the request. In this case,
Business role name :- Outbound Agent1
Entitlement Name :- Outbound Agent
According to the snapshot below, your entitlement was filtered out because it doesn’t exist on the target account. Before removing the role, please ensure the entitlement is present on the account by running an account aggregation.