Unpublish and Delete Trigger

Author: Bradley Wagner

Often, within the context of a workflow process, there is a need to un-publish an asset before removing it from the system.

Cascade Server 4.3 introduces a new workflow trigger called DeleteAndUnpublish located in the package "com.cms.workflow.function". It can be used in place of the previous Delete trigger. When the asset in the workflow is not a publishable asset (template, symlink, stylesheet, block, reference), this new trigger performs a standard delete. However, when the asset is a "publishable" asset (file, page, folder) and has publishable destinations, the trigger attempts to un-publish the asset (and all child assets if it's a folder) from ALL destinations prior to removing it from the system.

The following is the default Delete workflow distributed with the software with the DeleteAndUnpublish trigger used in place of the Delete trigger.

Additional Notes

The only modification made to the workflow definition is the trigger assignment which assigns the trigger named "delete" to the DeleteAndUnpublish class instead of the standard Delete class.

Last modified on Thu, 30 Nov 2006 17:51:15 -0500

Topic Feedback Form

Content Rating:
Email:
Feedback:


Top / Next / Up / Table of Contents