Versions Compared

Key

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

...

Parameters

Mandatory

Default

Description

states

Yes

Comma-delimited list of states to display in the current state. All states listed must be defined with a {state} macro in the current workflow.

Conditions

No

 

Sets the conditions that have to be met in order to change the state. If no conditions are set, then any user who has permission to see draft versions can change the state.

Example

The code below restricts the state selections available when a page is in the Approved state to Approved (current state is always displayed), For Review, and Cancelled.

...