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

Overview

Workflow macros define the major functionality of your workflow template, such as states (and the transitions between them), tasks and triggers.

The workflow macro must be the first macro in your template. The workflow is created by adding macros such as the state macro, to the body of this workflow macro.

Basic Syntax

In this example workflow, there are two states and one trigger.

{workflow:name=Example}
   {state:Start|submit=Stop}
   {state}
   {state:Stop|submit=Start}
   {state}
   {trigger:statechanged|state=Stop}
      {set-message}State is: Stop{set-message}
   {trigger}
{workflow}

Comala Document Management Templates

Templates are stored at

Editing a workflow template

A workflow template can be edited using the visual editing tool workflow builder. Changes made in workflow builder change/update the markup automatically.

Editing of the workflow template markup can be done directly in the markup editor. Changes made in the markup editor change/update the workflow in workflow builder automatically.

Triggers can can only be created using markup. This markup can be added either using the markup editor or can be copied and pasted into the Triggers option in the Edit Workflow panel in workflow builder.

All Examples

See: Examples

Macros

workflow macro - body macros

state macro - body macros

trigger macro - body macros

See: Actions

  • No labels