Table of Contents | ||||||||
---|---|---|---|---|---|---|---|---|
|
Overview
Excerpt | ||
---|---|---|
| ||
Add content-focussed reviews to states |
Use the approval
macro to add content-focused reviews to workflow states.
Content has to be approved before it can progress to the next state, or it can be rejected to send it back for more edits. Once all reviewers agree – either on Approve or Conditions – the workflow will transition to the state defined by the approved
or rejected
parameter on the parent state macro.
Where to use it?
Optional.
One or more approval
macros can be put in a state macro.
Within a state
, each approval
must be uniquely named. Can not be used if the state
has a state selection macro.
Parameters
{}{} specify number ≥ 2selectedapprover
selectedapprovers
.App configuration
Setting
Where
Notes
Approval – Assignee
Approval Comment
While enabled, reviewers will be forced to comment when they Approve or Reject during content reviews.
Page Update Reset Approval
While enabled, if the content is edited whilst it is under active review then any approvals made during that active review will be reset.
Workflow Activity and Drafts Visibility
Who can see and interact with the Workflow Popup
Example
Code Block | ||
---|---|---|
| ||
{workflow:name=Example} {state:Editing|submit=Review|colour=#ffab00} {state} {state:Review|approved=Published|rejected=Editing} {approval:Review this page|assignable=true|roles=true} {state} {state:Published|final=true|updated=Editing} {state} {workflow} |
o
When roles=true
is added to the approval macro, users assigned to the content review can be assigned a role.
A reviewer role can be created when adding the assignee or chosen from a dropdown menu listing of previously added roles for other assignees.
Roles for assignees can be enabled for each individual approval by editing the approval in the workflow builder.
Events
Content reviews generate the following Events:
approvalunassigned
newsapproved
newsapprovalassigned
newsrejected
pageapproved
pageapprovalassigned
pagerejected
Related macros
The following macros are related to Reviews:reviews
state –
approved
andrejected
parameters
All examples
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|