assign trigger action
Assign trigger action
You can use the Assign workflow trigger action to assign reviewers to an approval. You can use the action to assignee a Confluence user and the members of a Confluence user group as reviewers.
The approval assignees can be
a single Confluence User
all members of a Confluence Group
By default, assignees are added as reviewers to the first approval in the state named in the trigger condition (the default approval), but you can choose to assign reviewers to a specific approval in one of the workflow states.
You can choose a specific Confluence user as the assigner. If no assigner is selected, the assigner is the Comala Document Management app add-on user.
Assign action parameters
Action Parameter | Value | Notes |
---|---|---|
User MANDATORY | Confluence username
Only one user can be added. | Assign a selected Confluence user as a reviewer. You must add a user if a Group value is empty. |
Group MANDATORY | Confluence user group name.
Only one user group can be added. | Assign members of a selected Confluence user group as reviewers. You must add a user group if the User value is empty. |
Assigner | The user who is added as the assigner
|
|
Approval | Approval to assign the reviewers
| Any approval in any state in the workflow can be selected. The default approval is the approval in the state named in the trigger event condition. If the state has multiple approvals, the default approval is the first approval listed in the state. |
Comment | Text comment for the assignee. | Text comments are included with the assignment activity entry in the document activity report. |
When the workflow Event occurs, the trigger checks that any required Conditions are met, and if met, the Assign action assigns the specified user and members of a specified user group as reviewers to an approval.
“assign” JSON code
An Assign workflow trigger action added using the visual editor is automatically displayed in the workflow code editor as an “assign”
trigger action.
You can also use the code editor to add the workflow trigger and the “assign”
action.