This site has moved to the integrated Appfire documentation and information site for our apps.

From February 2024 this site is no longer updated.

Take a look here! If you have any questions please email support@appfire.com

Content Expiry Workflow



Importing workflows

Find out how to Import Workflows

Content Expiry workflow

requires v6.0.0+

com.comalatech.workflow.repository.categories.label: General| Bundled|Document Management

-

Builds on the Basic Approval workflow adding an Expired state after a set period of the approved page if no updates have occurred.

  • the expiry uses the value of a workflow parameter Due Date 

  • expiry period is reset as 5 months (ISO 8061 P5M) on each transition into the Approved state



 This workflow is also bundled with the Comala Document Control app

Content Expiry Workflow

{workflow:name=Content Expiry Workflow} {description} Builds on the Basic Approval workflow adding an Expired state after a set period of the page being approved with no updates. {description} {workflowparameter:Due Date|type=duration|edit=true|description=After this period pages will be set to 'Expired'} P5M {workflowparameter} {state:Review|approved=Approved|rejected=Rejected} {approval:Review this page|assignable=true} {state} {state:Approved|final=true|updated=Review|expired=Expired|duedate=@Due Date@|changeduedate=true} {state} {state:Expired|approved=Approved|rejected=Rejected|updated=Review|colour=#ff5630} {approval:Review this page|assignable=true} {state} {state:Rejected|approved=Approved|updated=Review|hidefrompath=true|colour=#ff5630} {approval:Review this page|assignable=true} {state} {workflow}

This workflow includes a workflow parameter. When applying a space workflow

  • a parameter reference value may only be available for use by the workflow after a workflow process, such as a transition, occurs. For example, the initial state should not include the use of the parameter reference value for a due date or pre-assigned reviewers for approvals to avoid blocking your workflow. Alternatively, you can choose to Initialize states when applying a space workflow

  • the parameter value is retrieved from the space parameters dashboard on first application of a workflow to a page or blog post. This value may be different to the value used in the workflow template