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 »

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, and must contain at least one {state} macro in its body.

Basic Syntax

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

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

All Examples

See: Examples

Macros

{workflow} body macros

{state} body macros

{trigger} body macros

See: Actions

  • No labels