<< Click to Display Table of Contents >> 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.
|
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 Remove unused objects option in the Tools tab.
2. The Remove unused metadata window opens. This window may take some time to resolve, depending on the size of your project's database.
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.
Click any of the column title to sort the results ascending or descending order for that column.
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.
Mark each object to delete by checking its checkbox located to the left of the object’s display name.
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.
4. Click the Delete button to remove the selected objects. Click OK to confirm the deletion.
If the procedure is successful, the following message appears:
Otherwise, the following message appears:
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 button next to the search field.