After trying to update an object's lifecycle, a user receives the error: You cannot delete the [lifecycle] because it is in use.
The error is due to a Change related object lifecycle state entry action that is configured on another object lifecycle. This entry action points back to the Object Lifecycle for the object the user is trying to delete.
Use the following steps to resolve the error:
Example Scenario: Object A currently has Lifecycle 1 attached to it. Lifecycle 1 cannot be removed from Object A (or a new Lifecycle cannot be attached to Object A) due to the above error. Object B has an entry action setup on at least one or more states in its lifecycle (Lifecycle 2) that references Object A and a state in Object A's Lifecycle (Lifecycle 1).
In order to remove Lifecycle 1 from Object A (or associate a different Lifecycle to Object A), Object B's lifecycle state entry actions that reference Object A and its Lifecycle (Lifecycle 1) needs to be edited to remove the reference(s).
- Locate Object B's lifecycle states that contain entry actions that relate back to Object A records and Object A's Lifecycle (Lifecycle 1).
- Check each object lifecycle state and remove any entry action that updates the state of the related Object A records.
- Go back to Object A and remove Lifecycle 1 from it (or associate a different Lifecycle to Object A).
- Add the entry actions back into the object lifecycle for Object B (Lifecycle 2) from which they were previously removed.
Vault Help Documentation: N/A