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


## Overview

> Macro (excerpt)
> 
> Display the current workflow state on a page.

The **Page Status macro** is used to display the current workflow state of a page.

## Permissions

<span style="color: #172b4d">Only page editors can see the rendered macro value on a page. By default, only users with edit permissions for a page can see workflow activity and draft versions of pages, and the macro uses this setting.</span>

<span style="color: #172b4d">If workflow visibility is configured for anybody to see draft content, the rendered macro is seen by users with view permission on the draft content.</span>

## Adding the macro

To add the report to a page:

In the draft page editor:

- Choose **+** > **Other Macros** > **Select macro **> **Page Status**

![macrodialogbox_pagestatusmacro_search.png](media://88763c7c-fe4b-4edf-b06c-22c9c8f4899c)

- Choose **Insert**

Here's how the macro looks on your page:

![image](media://574661e8-53b6-4619-8b5b-2ad8f49be9af)

## Customizing the macro

There are no customization options for this macro.

> ✅ If you want all users to see the rendered page status on a page, irrespective of workflow visibility settings, you can add the [get-metadata](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649826804) macro to the page to retrieve the metadata for the state name using the **awpState** value reference for the current state name. The macro retrieves and displays the state name, but not the state indicator circle.

You can add the get-metadata macro in a page properties report macro:

![pagepropertiesmacro_workflowstate_get-metadatamacro_awpState_value.png](media://a3c7b161-af6f-47f0-8374-708e4251ba2d)

The workflow state name is rendered in a table on the page.

![pagepropertiesmacro_rendered_withworkflowname_metadata_value.png](media://02c56e06-d31e-4fee-961d-f8c04456628d)

## Related pages

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