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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Importing workflows

Find out how to Import Workflows

Content Expiry workflowrequires v6.0.0+
com.comalatech.workflow.repository.categories.label: Document Management|Sample

-

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

(info) 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}
  • No labels