Status macro

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.

The current workflow state for an applied workflow state on a page is stored as a value reference - this can be retrieved as a metadata value using @awpState@ using the get-metadata macro or an appropriate reporting app or third party macro.

See also

User Guide:

Reporting Guide:

Workflow Authoring Guide: