I have a scenario where i Need to block and unblock a user via request center.
To block the user i created a Access Profile that will change the LifeCycle when a users receive this access and works just fine. My problem is when i need to unblock the user, i created a new access profile and when this access is provisioned i will trigger a workflow that will remove both Access Profile(block and unblock user).
Unfortunately i couldn’t trigger the Provisioning Completed workflow, my workflow must start when the action is performed in determined source and entitlement.
I tried this filter, but something its not rigth:
$.accountRequests[?(@.source.id == ‘mysourceId’ && @.attributeRequests[*].attributeValue == ‘myentitlementid’)]
Perhaps you could try this collab connectors IdentityNow Management Connector
I haven’t tested it, but it looks like it could meet your needs: * Manage lifecycle states as entitlements
This would allow you to dispense with workflow altogether.
Thanks for the help, but i took a different approach but still using the workflow.
I created a identity attribute that will be “InLeaveOfAbsence” if user has the entitlement requested to block a user. If this attribute change my workflow will trigger and revoke all roles e disable all accounts.