---
title: "States"
canonical: "https://support.appfire.com/space/COMALACDCLS/649761915/States"
format: markdown
---
> Macro (aura-html)

Let's assume we've got a really simple content production process: content is edited, then reviewed, and, if the review is approved, published.

![image](media://e61a7fb4-7cef-44ce-88ae-4fda8e942e4f)

The boxes in the diagram above are the states, and the lines between them are [transitions](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649533202).

When your document is in a specific state, a [state content byline item](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649630265) breadcrumb is added to the document subtitle. You can choose this to open the [workflow state dialog box](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649860326) to view the transitions from the current state.

## Transitions

States can handle several common [transitions](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649533202) directly, namely:

- `submit` – a direct transition to one state
- `updated` – an automatic transition which occurs when content is edited
- `approved` and `rejected` – transitions triggered by completion of a [content review](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649663953)
- `expired ` – triggered when a state expires
- `completed ` – triggered when the last remaining task is completed

## Reviews

A state can contain a [content review](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649663953). When the workflow enters the state, the workflow state dialog box displays options for the [content review](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649663953) decision.

![image](media://adfe6c34-4282-451e-9a50-d45541074228)

Reviewers must decide whether to approve or reject the content, and once they are in agreement, the state transitions to the `approved` or `rejected` destination state as applicable.

## Publishing

States can be designated as a **final** or published state for the content.

A final state is, by default, displayed with a green state content byline breadcrumb

![image](media://314c910d-17b7-441e-ba25-ed0c48546dee)

When using this feature, called same-space publishing, Confluence **View-only** users only see the most recently published version of the document created on the last transition to the workflow final state, even if the document is being edited in another state in the workflow.

> ℹ️ All the included workflows have a final state for your approved documents.

## Expiry dates

States can be given expiry dates. There are many uses for this, but one of the most interesting is to trigger periodical reviews of published content:

It's a really simple way to ensure that documentation doesn't go stale. You can use the [Content Expiry workflow](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649926643) to automatically add an expiry period on the transition to the final state in this workflow.

## Notifications

By default, page watchers are only notified if a state expires.

Additional notifications can be added if required – see [Notifications](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649794723).

## Related pages

- [https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649695993](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649695993)
- [https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649892982](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649892982)
- [https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649597140](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649597140)
- [https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649533202](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649533202)
- [https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649663953](https://appfire.atlassian.net/wiki/spaces/COMALACDCLS/pages/649663953)