reject-children macro

Cloud Migration Resources

Planning a Cloud migration? These resources can help you get started:

→ Comala Document Management Cloud features – Review Cloud features and understand key differences between DC and Cloud.
→ Migration support from Appfire – Learn how we can help you migrate smoothly.

reject-children macro

 

Overview

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.

Parameters

Parameter

Required

Default

Notes

Parameter

Required

Default

Notes

unnamed first parameter

:check_mark:



Name of the approval to reject.

Only applies to child pages where there is an active approval of that name.

comment





Rejection comment

  • plain text

Uses any character set supported by your Confluence server – except some reserved characters.

Events

The following events are associated with rejections

  • newsrejected

  • pagerejected

Example

{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

Reporting Guide

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'appfire-confluence-analytics' is unknown.