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 2 Next »

Importing workflows

Find out how to Import Workflows

Content Review Workflowrequires v3.1.9+
com.comalatech.workflow.repository.categories.label:General|Document Management

-

  • Marks a page as Active initially, then automatically transitions to For Review after a defined period of time
  • Authors can change from For Review to Active, Obsolete, or Requires Approval
Content Review Workflow Markup
{workflow:name=Content Review Workflow|key=com.comalatech.sample.approvals.03}
   {description}
        A Content Review Workflow that marks a page as 'Active' for now and that will automatically transition 'For Review' after a defined period of time.  Once expired to 'For Review', authors can change again to 'Active' or to 'Obsolete', or to 'Requires Approval' to be approved or rejected.
    {description}
    {workflowparameter:Expiration period|description=After this period pages will expire|type=duration}
        P7D
    {workflowparameter}
    {state:Active|expired=For Review|taskable=true|duedate=@Expiration period@}
    {state}
    {state:For Review|taskable=true}
    {state}
    {state:Requires Approval|approved=Active|rejected=Obsolete}
        {approval:Approve|user=<at:var at:name="assigner" />,<at:var at:name="assignee" />|assignable=true}
    {state}
    {state:Obsolete|hidefrompath=true}
    {state}
    {trigger:statechanged|state=Active}
        {remove-label:for-review}
        {remove-label:obsolete}
    {trigger}
    {trigger:statechanged|state=For Review}
        {set-label:for-review}
        {remove-label:obsolete}
    {trigger}
    {trigger:statechanged|state=Obsolete}
        {remove-label:for-review}
        {set-label:obsolete}
    {trigger}
    {trigger:statechanged|state=Requires Approval}
        {set-metadata:assigner}<at:var at:name="user" />{set-metadata}
    {trigger}
{workflow}


  • No labels