Most of the tasks provided by this service are granular in nature and only update a specific part of a task. Thus they only require the
taskId and the corresponding part of the task being updated as input.
However, our operation needs to update multiple parts of a task, that is, the order held in the task payload, the corresponding flex fields, and the task outcome. For this, we will use the
updateTask operation. The following screenshot shows its expected input:
From this, we can see that it expects the standard
workflowContext as well as the complete, updated
The simplest way to achieve this is to use ...