cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multi-threaded application deletion

Multi-threaded application deletion

 

Overview

At times it may be necessary to delete an application from IdentityIQ. This can be done by running the iiq console command:

     delete Application "<application name>"

However, in cases where the application has been in use and has many associated objects, this can be a time consuming process for a couple reasons. First, the Terminator process is single threaded in iiq console. Second, when an object is deleted, any dependent objects must also deleted. In the case of an Application, related Links, ManagedAttributes, and such are cleaned up by the Terminator before it takes care of the Application. This can involve many database transactions, which can take more time than can be spared during a maintenance period.

To address this issue, we developed a rule to allow for multi-threaded application deletion. It is attached here.

We wanted this process to be deliberate, due to the potential impact it may have, so editing of the rule is required, as well as running it from IIQConsole.

 

Instructions

Note: As for any code change, test the execution in non-production environments before using it in production.

1. Unzip the rule to a location that allows for editing of the file.

2. Edit lines #49-#60 to specify application names for the applications that will be deleted.

3. Save the modified rule and import it into IdentityIQ

4. Run the rule in iiq console with the following command:

     rule "Multithreaded Delete Apps"

 

Update:

2017-01-31 - Remove the direct deletion of EntitlementGroups.

Labels (3)
Attachments
Version history
Revision #:
3 of 3
Last update:
‎May 17, 2026 12:28 AM
Updated by:
Sally_Newton