O'Reilly logo

Oracle SOA Suite 11g R1 Developer's Guide by Antony Reynolds, Matt Wright

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Updating the task outcome

Finally we need to set the task outcome for the current step (this is effectively the same as specifying a task action through the worklist application). In our case, we have defined two potential outcomes: COMPLETED or ABORTED.

For setShippingDetails (as with all of our operations), we want to set the task outcome to COMPLETED, note this won't actually complete the task, rather it completes the current assignment, and in our case, as all our routing policies are single approver, it will complete the current step in the workflow and move the task on to the next step. Only once the final step is completed will the task complete and control be returned to the OrderFulfillment BPEL process.

To set the task outcome, we only ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required