Have many Gen Procedure Steps and Action Blocks in the Gen Encyclopedia that are NOT used. How to determine if they can be deleted as concerned how they would affect relationships/associations and Dialog Flows between other Action Blocks and Procedure Steps.
Release : 8.6
Component : Gen Host Encyclopedia
If, for a given 'Old' PStep or Action Block, that is not referenced by/referencing an 'Active' module, then it can be deleted. You can check by running a 'Model action block use report'. From the Host Encyclopedia main menu option '3. Host Encyclopedia reports' then option '55. Model action block use report' and run this for a given procedure Step within a model.
If you attempt to delete an Action Block that is used/referenced by a Procedure Step or another Action Block, it will not allow it, you will get a message similar to this in the delete report:
"THE SELECTED OBJECT CANNOT BE DELETED BECAUSE IT IS REFERENCED BY THE FOLLOWING OBJECTS:"
And it will list what is referencing the Action Block you are attempting to delete.
Further...
If you delete an online Procedure Step and it has Dialog Flows, the delete process will delete those Dialog Flows to/from this Procedure Step as well. For example, using the sample model and perform a trial delete, using the panels from the Host Encyclopedia as follows:
1. Host Encyclopedia functions
3. Model management
3. Delete or rename objects within model
Selecting the PStep 'Menu' and requested a 'T' for trial delete which does not actual perform the delete and this produces a report of what 'would be' deleted. Here is a result of that trial delete of this PStep:
"OBJECT SELECTED:
PStep MENU
THE FOLLOWING OBJECTS WOULD BE DELETED:
PStep MENU
Screen for PStep MENU
PStep Action Block MENU
Transfer from PStep MAINTAIN_DIVISION to PStep MENU
Transfer from PStep MAINTAIN_DEPARTMENT to PStep MENU
Transfer from PStep EMPLOYEE_LIST to PStep MENU
Transfer from PStep EMPLOYEE_DETAIL to PStep MENU
Transfer from PStep MENU to PStep MAINTAIN_DIVISION
Transfer from PStep MENU to PStep MAINTAIN_DEPARTMENT
Transfer from PStep MENU to PStep EMPLOYEE_LIST
Online Load Module Pkg for Procedure Step MENU
Procedure MENU
TOTAL NUMBER OF OBJECTS DELETED: 12"
The trial is a good way to show what will be deleted using the above mentioned panel steps.
Note - Be sure to backup your model(s) prior to deleting objects.