Versions Compared

Key

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

Overview

State objects can be retrieved via the state (current state), states > all (list of all states transitioned through) and states > stateName (specific state) keys on Confluence page or news (blog post) objects –see Workflow Supplier for more details.

Supported Keys

Key

Content Types

Return Type

Description

tasks
or activetasks

State

List of activeTask

A list of all incomplete tasks associated with the state

completedtasks

State

List of completedTask

A list of all completed tasks associated with the state

alltasks

State

List of allTask

A list of all tasks associated with the state (both complete and incomplete)

allapprovals

State

List of Approval

A list of all approvals (content reviews) associated with the state

name

State

Text

Name of the state as defined in the

{

state

}

macro

version

State

Text

Most recent content (page or blog post) version associated with the state

user

State

User

The user responsible for the most recent state transition

Note: May be empty if the last transition was caused by Expiry Dates

date

State

Date

The date of the most recent state transition

duedate

State

Date

Date on which the state is set to expire

See also: Expiry Dates, State expiry date

comment

State

Text

Note associated with the most recent state transition