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

## Overview

> Macro (excerpt)
> 
> Display recent page workflow activity on a page

The **Page Activity Macro** is used to display the activity report on a page.

It's great for displaying recent activity in a page header or footer. 

## Permissions

The Comala Document Approval workflow **Approved** state is the workflow final state (one which defines a `final=true` state). This means that

- edit/admin users will see the full report
- view-only users will only see entries up to the point at which the most recent **Approved** (`final=true`) state was *entered*
- If the page has not yet reached the **Approved** published state, view-only users won't be able to view the page with the added workflow or the report

## Adding the report

To add the report to a page

1. In the editor, choose **Insert **> Macro (inline-media-image)

**→ Other Macros → All → Page Activity**  
> Macro (inline-media-image)
2. Customize the report to your requirements
3. Choose **Insert**

Here's how the macro looks on your page.

![image](media://54ccb753-5647-40d0-b61e-9e3ff7e1dc97)

## Customizing the report

You can customize the report with the following macro settings.

| **Setting** | **Default** | **Notes** |
| --- | --- | --- |
| **Max Entries** | *All entries* | The number of results to show |
| **Reverse order** | *No* | Check the box to reverse the order of the report |