Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel2
minLevel2
absoluteUrltrue
excludeSee also
typeflat
separatorpipe

Overview

Excerpt
hiddentrue

Define who can take part in, or be assigned to, a content review.

These examples show several configurations of the approval macro parameters that control who can take part in, or assign users to a content review.

View-only users

Users who only have Confluence view permission can take part in a content review so long as they can see the workflow popup.

Info

Requires the Workflow Activity and Drafts Visibility admin option to be set to the default setting of Anybody.

No assignment

Excerpt
namereview_noassignment

By default, a content review added to a workflow does not allow reviewer assignment.

The workflow popup in the content review state displays only the Approve and Reject option buttons.

Any single user with Edit content permission can Approve or Reject the review. A single reviewer approval decision (approved or rejected) causes the transition of the workflow.

...

https://appfire.atlassian.net/wiki/spaces/CDML/pages/650120187/Edit+approval+reviewers+using+workflow+builder#Anyone-can-approve

Assign anyone

Excerpt
namereviewers_assignanyone

To allow anyone to be assigned, add the assignable=true parameter.

The workflow popup displays the + Add reviewer button.

In this scenario:

  • If there are no assignees, any single user can complete the review

  • Users in the confluence-users group (all registered Confluence users) can be assigned to the review.

  • If anyone is assigned, only the assignee(s) can complete the review

  • If multiple people are assigned, they must all agree, either Approve or Reject, to complete the review

...

https://appfire.atlassian.net/wiki/spaces/CDML/pages/650120187/Edit+approval+reviewers+using+workflow+builder#Users-can-be-assigned-through-UI

Limiting reviewers

Making an approval assignable is one way to limit reviewers. But anyone can still approve the review if a user has not yet been assigned.

...

https://appfire.atlassian.net/wiki/spaces/CDML/pages/650120187/Edit+approval+reviewers+using+workflow+builder#Limit-who-can-approve-and%2For-assign-reviewers

Excluding reviewers

Excerpt
namereviewers_excluding

You can use the exclude parameter to define one or more users who can not take part in the review.

The Approve and Reject buttons appear disabled for the excluded users.

Info

However, if the review is assignable, these excluded users are still be able to assign other users to the review.

The excluded parameter takes precedence over the groupselectedapproverselectedapprovers and user parameters (see below).

A common exclusion use is for the person who created the content. This can be achieved with the @creator@ user reference.

Code Block
languagetext
{workflow:name=No assignment}
   {state:Editing|submit=Review}
   {state}
   {state:Review|approved=Published|rejected=Editing}
      {approval:Review|assignable=true|exclude=@creator@}
   {state}
   {state:Published}
   {state}
{workflow}

Minimum reviewers

Excerpt
namereviewers_minimum

ou can specify how many people must be assigned to undertake the approval of the content using the minimum parameter.

The workflow popup will indicate the number of reviewers required by displaying a number user outline avatars corresponding to the minimum number of reviewers required.

Info

More reviewers can be added if desired, but the set minimum number of reviewers completing and agreeing on the review decision causes the approval transition.

Users are assigned as reviewers by choosing the + icon in the popup.

Any user can undertake the approval if no users are assigned

All assigned reviewers would have to agree on either Approve or Reject in order to complete the review.

For the Approve decision, the number of review decisions must also at least meet the minimum requirement if present.

...

If more than one reviewer is assigned you can fastrack a reject transition by adding a trigger to the workflow. This negates the need for all assigned reviewers to agree on a Reject decision for the rejected transition to take place.

Limiting assignment

You may want to limit which users or groups are allowed to assign a reviewer for the approval i.e., who can be an assigner. You can choose to use the allowedassignusers and/or the allowedassigngroups parameter.

...

Code Block
languagetext
{approval:Review|assignable=true|allowedassignusers=!horst,ahmed}

Limiting selection

If you want to limit which users or groups can be assigned to a review, use the user and/or group parameters.

...

If you don't require users to be assigned prior to reviewing, you can remove the assignable parameter. Only the users listed by the group and/or users parameters will be able to Approve or Reject, without the need for assignment.

Automatic assignment

Excerpt

ou can set all users who must approve the content. This is usually done by the workflow automatically assigning users as reviewers to to an approval on transition into the workflow state containing the content review.

One or more Confluence users, and/or one or more Confluence user groups can be added as the users who are assigned.

Info

The users and/or groups are configured by editing the applied workflow. The avatars of the worfklow assigned users are displayed in the workflow popup.

...

https://appfire.atlassian.net/wiki/spaces/CDML/pages/650120187/Edit+approval+reviewers+using+workflow+builder#Set-all-the-reviewers-that-have-to-approve

At least one assignee

The selectedapprovers parameter allows you to specify one or more users and/or groups, and automatically sets minimum=1.

...

https://appfire.atlassian.net/wiki/spaces/CDML/pages/650120187/Edit+approval+reviewers+using+workflow+builder#Only-one-user-must-be-assigned-to-approve

Exactly one assignee

If you want to mandate that one person is assigned, and no more, use the selectedapprover parameter.

...