Automate ITIL Licence Removal

WESAdmin
Kilo Contributor

We currently have a manual process whereby the ITIL Licence is supposed to be manually removed from an ITIL user if their account is made inactive however because it is a manual process our access management team forget out this step from time to time.
What I would like to do is create a script of some sort that checks if the user has any Roles when the Active flag is unchecked, it then pops up a message warning the person unchecking it, and prompts them to OK or Cancel. OK continues deactivating the account and removes any Roles, Cancel, does just that, Cancels the action.

Has anyone done anything similar in this area?

12 REPLIES 12

mike_pryor
Giga Expert

Hi,
I would say that an onChange client script can do the initial check if the user has roles and alerting the user unchecking the "Active" box with a confirmation dialog. I would suggest that if they click on OK continue to allow the check to be removed from Active and have a business rule run after update to remove the user from any groups and remove any remaining roles. If the user selects Cancel from the confirmation dialog, just have the script set Active back to true.


mike_pryor
Giga Expert

Wanted to follow up and just ask if my reply has helped.

Let me know if you need more info.


sorry have been away on leave and havent had a chance to go back to this. once I catch up on the backlog since being away I'll come back to this and let you know how I go.


No problem.

Let me know how it goes 🙂