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

Event trigger transitions

Events and transitions

These transitions use triggers to listen for an event and then action a state transition.


See also: StatesAdministrator state overrideTriggers


Page parameter update trigger transition

If using workflow parameters, a transition can be triggered when a user edits their value.

The edit=true parameter must be specified on the {workflowparameter} macro for this to work. The workflow popup, in state A, will show a message and button for editing the parameters. Once the parameters are set, the workflow will transition to state B.


{workflow:name=Parameter edit}
  {workflowparameter:test|edit=true}
    test
  {workflowparameter}
  {state:A}
  {state}
  {state:B}
  {state}
  {trigger:pageparameterupdate|parameter=test}
    {set-state:B}
  {trigger}
{workflow}


Page parameter value required transition

A workflow parameter can be set as a required parameter in a state. This will prompt the end user to set a parameter value when moving into a new state via an approval or state submission selection.

The parameter must be setup as edit=true so a value can be set on an individual page.


Macros{workflowparameter}{state}


Events Transitions

Any event can be used to trigger a {set-state} transition in the same way as the example above.

Events: Any event

See also: TriggersActions