Using the updateTask operation

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:

Using the updateTask operation

From this, we can see that it expects the standard workflowContext as well as the complete, updated task element.

The simplest way to achieve this is to use ...

Get Oracle SOA Suite 11g R1 Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.