---
title: "pagestatus macro"
canonical: "https://support.appfire.com/space/CDML/649694558/pagestatus%20macro"
format: markdown
---
> Macro (aura-html)


## Overview

> Macro (excerpt)
> 
> Display workflow state lozenge

The **{pagestatus}** macro displays the current workflow state name in a lozenge.

For example:

![image](media://028d5def-70e0-473a-800e-5cbcd18bf59f)

The page status will only be displayed in the page if the viewing user already has permission to see workflow status information.

## Where to use it?

Optional.

One or more `{pagestatus}` macros can be used in a page or blog post.

It can also be used in macros which render content in the context of pages and blog posts:

> Macro (contentbylabel)

## Parameters

None.

## Basic example

```plaintext
{pagestatus}
```

## See also

[Workflow Authoring Guide](https://appfire.atlassian.net/wiki/spaces/CDML/pages/648611901):

- [States](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649595551)

[User Guide](https://appfire.atlassian.net/wiki/spaces/CDML/pages/648907144):

- [Workflow status bar](https://appfire.atlassian.net/wiki/spaces/CDML/pages/650117676)
- [State status indicator circles](https://appfire.atlassian.net/wiki/spaces/CDML/pages/650152863)

[Reporting Guide](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649070833):

- [Report on states](https://appfire.atlassian.net/wiki/spaces/CDML/pages/650216427)