State objects

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

Key

Content Types

Return Type

Description

tasks
or activetasks

State

List of active Task

A list of all incomplete tasks associated with the state

completedtasks

State

List of completed Task

A list of all completed tasks associated with the state

alltasks

State

List of all Task

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