If a task is being completed by multiple assignees, it’s possible the assignees will choose different options. To resolve this, you can use evaluators to assess the options chosen by the assignees and determine the most appropriate outcome.
For example, let’s say you’ve asked assignees to approve or reject a document. You may decide you want to continue the workflow if all assignees choose “Approve” and end the workflow if at least one assignee chooses “Reject”. You therefore need to add an evaluator for each of these scenarios.
- To add an evaluator:
- Click Evaluators, then click +.
- Enter the following information.
Label Enter a name for the evaluator.
If, Chose Use these fields to define a scenario. For example, continuing our example of “Approve” and “Reject” options, you can define scenarios such as “If all assignees chose Approve” and “If at least one assignee chose Reject”.
Advanced If you prefer, you can enter an expression instead of using the If and Chose fields. Enter the expression using SpEL (Spring Expression Language) syntax.
Applies Select if the evaluator will be applied after each assignee completes the task or after all assignees complete the task.
- Click Create.
- To edit an evaluator, hover over it and click .
- To delete an evaluator, hover over it and click . Click Yes to confirm.
You can now choose the action to perform for each evaluator. See the next section for details.