Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|
Overview
Excerpt | ||
---|---|---|
| ||
Reject approvals on child pages |
The {reject-children}
macro can be 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}
macrotrigger macro.
Parameters
Parameter | Required | Default | Notes |
---|---|---|---|
unnamed first parameter |
Name of the approval to reject.
| ||||
| Rejection comment |
|
|
Events
The following Eventsevents are associated with rejections:
newsrejected
pagerejected
Example
Code Block | ||||
---|---|---|---|---|
| ||||
{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} |
All examples
...
...