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


## Overview

> Macro (excerpt)
> 
> Reject approvals on child pages

The `reject-children` macro is used to reject a specific approval, where active, on all child pages of the page where the action was triggered.

## Where to use it?

Optional.

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

## Parameters

| Parameter | Required | Default | Notes |
| --- | --- | --- | --- |
| *unnamed first parameter* | :check_mark: |  | Name of the approval to reject.<br>> ℹ️ Only applies to child pages where there is an active approval of that name. |
| `comment` |  |  | Rejection comment<br>- plain text<br>> ℹ️ Uses any character set supported by your Confluence server – except some [reserved characters](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649859070). |

## Events

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

- `newsrejected`
- `pagerejected`

## Example

```plaintext
{workflow:name=Reject Children}
   {state:Editing|submit=Content Review}
   {state}
   {state:Content Review|approved=Published|rejected=Editing}
      {approval:Review}
   {state}
   {state:Published}
   {state}
   {trigger:trigger:pagerejected|approval=Review}
      {reject-children:Review|comment=Parent approval rejected}
   {trigger}
{workflow}
```

## 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)