This site has moved to the integrated Appfire documentation and information site for our apps.

From February 2024 this site is no longer updated.

Take a look here! If you have any questions please email support@appfire.com

Adding Multiple Reviews

Overview

You can add multiple reviews in a single content review state, assign different reviewers, set the minimum number of reviewers for each review, and also add dependencies between reviews.


Parallel reviews

To add multiple reviews, put more than oneĀ {approval} macro in to aĀ {state} macro body.

For example, to create three reviewsĀ Grammar, Design and TechnicalĀ the following markup is used:

{workflow:name=Parallel review}
   {state:Editing|submit=Sign-off Review}
   {state}
   {state:Sign-off Review|approved=Published|rejected=Editing}
      {approval:Technical}
      {approval:Grammar}
      {approval:Design}
   {state}
   {state:Published}
   {state}
{workflow}


The initial order of the reviews in theĀ workflow popup is the order the approval macros have been defined the state.Ā 


Each of these reviews can be done in parallel, at the same time, and currently, only one reviewer is required to complete each of the reviews.

As soon as all the reviews agree to Approve or Reject, the transition to the relevant workflow state will occur.

Reviewer settings

Each of theĀ {approval} macros can use all the same features you'd expect from a basic content review. So, let's add some additional requirements on who can review, and how many reviewers are required:

{workflow:name=Parallel review}
   {state:Editing|submit=Sign-off Review}
   {state}
   {state:Sign-off Review|approved=Published|rejected=Editing}
      {approval:Technical|user=&adam,matilde,suni}
      {approval:Grammar|group=hr_policy_leads|minimum=2}
      {approval:Design|assignable=true}
   {state}
   {state:Published}
   {state}
{workflow}

Grammar review - reviewer settings

We've used theĀ group parameter to limit the Grammar review to members of theĀ hr_policy_leadsĀ Confluence user group. We've used theĀ minimum parameter to indicate that at least 2 people from this group are required to complete the review.

The Approve and RejectĀ buttons will be disabled for users who are not members of theĀ hr_policy_leadsĀ Confluence user group.

What happens if the transition has not yet taken place and a user who is a member of theĀ hr_policy_leadsĀ Confluence user group chooses to Reject the content?

Any previous reviewerĀ Approve decisions are removed and the popup only displays the Reject decision.

The Design review is reset except for the newĀ Reject decision. The Reject decision can be by any user who is a member ofĀ hr_policy_leads including those who have not yet undertaken the review.

The Approve and Reject decisions are recorded in the page activity report.

Technical review - reviewer settings

For the Technical review, we've used theĀ user parameter to name three individuals who are allowed to perform that review. The addition of the & operator before the first user in the list means that all the listed users are required to undertake the review. This adds the user avatars to the workflow popup.



If theĀ &Ā operator is not present and there are no other settingsĀ only one of them would need to complete the review, but any of them could still review the content if they wanted to. Note that as the reviewers are not mandated to undertake the review (as theĀ &Ā operator is not present) the popup will not display the user avatars.


Design review - reviewer settings

And, for the Design review, we've used theĀ assignable=true parameter to allow any Confluence user (members of theĀ confluence-users user group) to be added to the review.

As you can see, the + Add reviewer link is added next to the Approve/Reject buttons.


Review dependencies and sequencing the reviews

There is often an order in which reviews must be performed, either due to process or compliance reasons, or simply to minimize reviewer workload. For example, you might want to delay the Design review until the Technical review is complete, as any technical errors in the content would likely need fixing prior to the Design review.


To achieve this, we can add theĀ hasapprovalĀ conditionĀ to the Design approval, like so:

{workflow:name=Parallel review}
   {state:Editing|submit=Sign-off Review}
   {state}
   {state:Sign-off Review|approved=Published|rejected=Editing}
      {approval:Technical|user=&adam,matilde,suni}
      {approval:Grammar|group=hr_policy_leads|minimum=2}
      {approval:Design|assignable=true|hasapproval=Technical}
   {state}
   {state:Published}
   {state}
{workflow}


Now, if someone selects the Design review prior to the Technical review being completed, they'll see the Approve/Reject buttons are disabled:

Note, however, the ability to add reviewers is still available so you don't have to wait for the Technical review to finish to specify who should participate in the Design review.

Review display order

Reviews will be listed based on the order theĀ {approval} macros in your workflow markup, even if some reviews are dependent on other reviews (our Design review is dependent on the Technical review). Assigning a reviewer has no effect on the display order:

{state:Sign-off Review|approved=Published|rejected=Editing}
     {approval:Design|assignable=true|hasapproval=Technical}
	 {approval:Grammar|group=hr_policy_leads|minimum=2}
	 {approval:Technical|user=&adam,matilde,suni}      
{state}


See also

Workflow Authoring Guide:

User Guide:

Reporting Guide: