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


> Macro (toc)

## Overview

> Macro (excerpt)
> 
> Reject an approval

The `{reject-page}` macro is used to instantly reject a specific approval.

## Where to use it?

Optional.

One or more `{reject-page}` macros can be put in a **[{trigger}](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649859133)**[ macro](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649859133).

## Parameters

| Parameter | Required | Default | Notes | Ver |
| --- | --- | --- | --- | --- |
| *unnamed first parameter* | :check_mark: |  | Name of the approval to reject.<br>Only applies if there is an active approval of that name. |  |
| `comment` |  |  | Rejection comment:<br>- Plain text
- Can use any character set supported by your Confluence server – except some [reserved characters](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649859070). |  |
| ## Deprecated<br>The following parameters are deprecated or obsolete |
| `credentials` |  |  | [Obsolete] This parameter is no longer available and should not be used.<br>The credentials are now defined at the Space level. For more information, see [Remote-space publishing](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649728423). | Removed  
in 5.0.8 |

## Events

The following [Events](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649759655) are associated with rejections:

- `newsrejected`
- `pagerejected`

## Example

```plaintext
{workflow:name=Reject Page}
   {state:Editing|submit=Content Review}
   {state}
   {state:Content Review|approved=Published|rejected=Editing}
      {approval:Review}
   {state}
   {state:Published}
   {state}
   {trigger:statechanged|state=Content Review}
      {reject-page:Review|comment=Instant rejection}
   {trigger}
{workflow}
```

## All examples

> Macro (contentbylabel)

# See also

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

- [Approvals](https://appfire.atlassian.net/wiki/spaces/CDML/pages/650153766)
- [States](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649595551)
- [Transitions](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649563425)
- [Events](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649759655)
- [Triggers](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649563178)
- [Actions](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649858941)

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

- [Workflow Report Macro - Approvals](https://appfire.atlassian.net/wiki/spaces/CDML/pages/650120822)