In OIM we have an option to disable, enable and revoke functionality from UI. This blog entry will document how to trigger these functionalities. These UI buttons are shown highlighted below:
To trigger these functionality,
- Create an adapter with below setup:
- Create an adapter task with ICProvisioningManager.enableUser() method.
- Map application method parameters.
- Go to Process Definition -> Tasks -> Add
- Set the tasks as Conditional (meaning it will not be automatically kicked off, usually only create user tasks are automatically kicked off).
- Click on Task Effect and pick appropriate disable, enable or revoke functionality.
Similarly, in-order to trigger add, remove entitlements (referred by child forms) enable child table and trigger type options like below:
That's it. Now setup the adapter to do perform customized actions.