Overview

A workflow can be configured to automatically update the Status macro caption to be the current workflow state name when a state transition occurs.

Note: This is primarily for older templates. Where possible, use the Page Status Macro instead.

Workflow setup

Use the updatestatus=true parameter on the {workflow} macro:

{workflow:name=Update status|updatestatus=true}
   {state:First}
   {state}
   {state:Second}
   {state}
{workflow}

Adding the macro

To add the macro to a page:

  1. In the editor, choose Insert → Status
  2. Set the Title, Color and Outline Style to whatever you want
  3. Choose Insert

Here's how the macro looks on your page:

STATE

Whenever the workflow state changes, the status macro will be updated to reflect the current workflow state.

See also

User Guide:

Reporting Guide:

Workflow Authoring Guide: