Deactivate application

shabbir9
Tera Contributor

Hi

 

we have requirement that user can deactivate an application ,through catalog item list of applications are shown in catalog item. When user select the application and submit the catalog item he/she able to deactivate the application...now the problem is when user submit the form we need to

Perform a check against to see if the application has any existing accesses defined 

If Accesses exist, display an alert message...can anyone suggest the script to how to perform a check weather the user have any specific access to that applications

regards

Shabbir.

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@shabbir9 

who will be raising the request?

What do you mean by user has access to that application?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

one application is there for example "A" this application create users in ServiceNow and give access or permissions to that users to other applications ..now we need to check when ever user go into the catalog item and tries to deactivate the applications is there any accesses he/she have if he/she have the accesses we need to populate an alert you have multiple accesses contact Application 'A' to remove those access...and deactivate the application.