HR Trigger to Deprovision Users
I am trying to configure an HR Trigger in CUP 5.3 to Deactive user from all the possible system.
I have created a request type "DEPROVISION " with Actions as CHANGE_USER and LOCK_USER.
I need to have the following thing done.
1. Remove all the roles from the profile of the user.
2.Set the Validity to Current date(Not leave it blank)
3.Set the user group to Terminated.(I gues that can be done in Action under HR trigger. I am not very sure)
4.lock the user
I know this can be done with normal workflow where requestor fill the details but i need to have this done with an HR trigger.
The request should be created with the above criteria.
I have created a rule with info type 0000 Subtype 20 Field PERNR value $PERNR operator AND.
Your Advise will be higly apprecaited.