Deleting unused objects in your project

<< Click to Display Table of Contents >>

Navigation:  Bizagi Studio > Bizagi Studio user interface explained > Advanced settings >

Deleting unused objects in your project

Overview

During process automation, members of the development team may have created several objects which are no longer used. This is due to the nature of continuous improvement and transformation of the process as it develops. Unneeded objects can inflate the size of the project and may hinder the deployment procedure.

 

Bizagi lets you identify unused elements in your projects and decide whether you want to remove them to free up space in your project's database.

 

Which objects can be deleted

Objects which meet the following conditions are eligible to be deleted

Must be one of the following types:

oAttributes

oForms

oJobs

oMappings

oDocument templates

oExperience templates

oMessage templates

oQuery forms

oRules

oVocabularies

Must not have been deployed.

The object and any of its children must not be referenced by any other object in the project.

 

note_pin WARNING

Objects referenced by Xpaths with advanced filters may not be detected by the dependency validator and may appear in the list of eligible objects to be deleted.

 

How to delete unused objects

1. Select the Unused objects cleanup option in the Tools tab, as shown below:

 

UnusedObjects_01

 

2. The Remove unused metadata window opens. This window may take some time to resolve, depending on the size of your project's database.

 

UnusedObjects_02

 

3. Select one or more objects to permanently delete from your project's database.

You can use the Filter field to narrow the results by typing the Display Name, Name or Type. The results displayed contain the typed string in any of the fields and they appear while you type.

 

UnusedObjects_03

 

Click any of the column titles to sort the results ascending or descending order for that column.

 

UnusedObjects_04

 

You can also navigate through the results displayed, or change the number of results displayed using the Items per page control at the bottom of the results table.

 

UnusedObjects_05

 

Mark each object to delete by checking its checkbox located to the left of the object’s display name.

 

UnusedObjects_06

 

Alternatively, you can check the checkbox in the title row to select all the results in the current display. if you have not selected a filter, and check this checkbox, all the elements eligible to delete will be selected.

 

UnusedObjects_07

 

4. Click the Delete button to remove the selected objects. Click OK to confirm the deletion.

 

UnusedObjects_08

 

If the procedure is successful, the following message appears:

 

UnusedObjects_09

 

Otherwise, the following message appears:

 

UnusedObjects_10

 

The procedure normally fails if the selected objects are being updated or used by any other user working in your project when you try to delete them.

 

Once the procedure finishes, the display of unused objects automatically updates. If you want to update the candidate objects to be deleted, click the update button next to the search field.