Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:.

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

...

To add the macro to a page:

  1. In the editor, choose Insert Image Modified→ 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:

...

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

Tip

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: