Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
hiddentrue
nameRefined card image
Image RemovedImage Added
Info

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

-

Image Removedexpiry period is reset

Image Added

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 

  • The states in the workflow are

    • Review

    • Approved

    • Expired

    • Rejected

    For the Approved state

    • by default, an expiry period is set as 5 months (ISO 8061 P5M) on each transition into the Approved state

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

    • the default value used for the expiry can be changed

      • by the space admin in the Parameters dashboard

      • on applying the workflow


    Info

     This workflow is also bundled with the Comala Document Control app

    Content Expiry Workflow

    Code Block
    {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

    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

    from the value used in the workflow template.