[DM_POLICY_E_CANT_DESTROY]error: "Cannot destroy policy identified by
some sysobject."
To delete a lifecycle, first make sure that no documents in the docbase are referring to that Lifecycle. Run the following DQL to find out if there are any documents referring to the lifecycle:
select * from {object_type} where r_policy_id = '{lifecycle_object_id}'
If no documents are using or referring to the Lifecycle, then the most likely cause of this error is that the Lifecycle is still in an "Installed" state in the docbase. To uninstall the Lifecycle and destroy the lifecycle run the following API's:
uninstall,c,{lifecycle_id}
destroy,c,{lifecycle_id}
No comments:
Post a Comment