Scenario: 6 Recipients, 1 Approve response and routing task based on a variable

In this scenario, a task is sent to Codi and the Finance group that has five people, namely Bob, Anthony, Blake, Mike, and Rick. They can either Approve or Reject the task, which completes when one of the recipients responds with Approve or when someone rejects the task.

If you want to know how to configure the task step for this scenario, skip ahead to How to configure the Task step.

If you want to know how to configure the rest of the workflow for this scenario, skip ahead to How to configure related steps in the workflow.

Task list behavior for Recipients

The workflow start after you complete and save the form.

In your workflow you configure the recipient rule to use the value in a variable to route the tasks to either Codi or the Finance Group. The Amount variable calculates values from a SmartObject and is the result of (Units x Cost). If the amount is 5000 or less, the task goes to Codi. If the amount is 5001 or more, the task goes to Finance.

In this scenario, the amount is 7500 which means the task is sent to all recipients of the Finance group. The task shows in the My Task section in K2 Workspace (Desktop) for each of them because, at this stage, nobody has opened the task and it is available for everyone to open.

Bob, who is a member of Finance, opens the task and takes ownership of it. He takes the first and only available response. In this scenario, you specified that only one response is needed which means that the task is no longer available for the remaining recipients (even though he has not yet actioned it).

Bob approves the task and the workflow continues because one recipients chose the Approve action.

The animation below illustrates the path from when the task is assigned to the recipients to when it completes.