I have configured workflow which removed the entitlement when user lifecycle state changes from Inactive to Terminated.
Detect Trigger
Get Access : Entitlement
Using Loop with LoopInput : $.getAccess.accessItems[*]
Manage Access : Request Type : REMOVE
But I want to remove, Role + Access Profile + Entitlement (ALL)
I tried to check mark all the options (Get Access Profiles + Get Roles + Get Entitlements), but no luck.
I tried differnet workflow using the HTTP Request but that does not remove the birthright access.
Requirement is to removes all the access (birthright + access requested)
Please assist
please help me with the Http operation, if I want to remove all the access Profile + All Roles + All Entitlements
is this correct approach?
$.hTTPRequest.body[0].access[?(@.type == “ACCESS_PROFILE” && @.type == “ENTITLEMENT”)]
Having problem when tried to remove all access. The fact is that Manage Access input should be the Get Access output, and there is a limitation of revoking only one entitlement at a time.
Your approach is fine, you have only to change 4 - Managge access for an HTTP Request action, on which it calls the ISC API to remove each account.
note that I changed names to be more readably, but Get Entitlements is a Get Access action.
As you need to revoke all types, you can make 3 HTTP Request actions in cascade, each with each type hardcoded (with 2 string compare operations checking what type comes in the loop item).
is this correct approach to remove both Ent and AP in Loop Input?
$.hTTPRequest.body[0].access[?(@.type == “ACCESS_PROFILE” && @.type == “ENTITLEMENT”)]
@RitikaK no, because each body call must be ENTITLEMENT OR ACCESS_PROFILE OR ROLE. That’s why you should follow this approach, with the difference to have 3 HTTP Request, one for ENTITLEMENT, other for ACCESS_PROFILE and other for ROLE.