Using UpdateTaskOutcome to Complete a Human Task Returns ORABPEL-30503 (Doc ID 850732.1)

Last updated on MARCH 01, 2017

Applies to:

Oracle(R) BPEL Process Manager - Version 10.1.3.4 and later
Information in this document applies to any platform.
***Checked for relevance on 27-Jun-2011***
10.1.3.4


Symptoms

When running a BPEL Process which has a flow similar to the following:

Task Initiation
other BPEL Processes-->ApproveTask (bpel) --> initiateTask--> Waits for callback

Task Completion
Custom application --> CompleteApproveTask (bpel) --> sends callback to ApproveTask -->
ApproveTask (bpel) --> UpdateTaskOutcome (TaskService).

After migrating it to 10.1.3.4, the following error occurs :

<messages><input><initiateCompleteTask_updateTaskOutcome_InputVariable>
<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
<updateTaskOutcome xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
<workflowContext xmlns="http://xmlns.oracle.com/bpel/workflow/common">
<credential>
<login>bpeladmin</login>
<identityContext>jazn.com</identityContext>
</credential>
<token>VcZ8...Cyh2iLw==</token>

</workflowContext>
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task"/>
<taskId>11d1def534ea1be0:-12541acc:1203fc214aa:-12cb</taskId>
<outcome>APPROVED</outcome>
</updateTaskOutcome>
</part></initiateCompleteTask_updateTaskOutcome_InputVariable></input><fault>
<operationErroredFault xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
<part name="payload"><operationErroredFault xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
<faultInfo>ORABPEL-30503

Invalid Token Error in Verification Service.
Invalid Token Error in Verification Service. Received invalid token VcZ8...Cyh2iLw== in canUserPerformTaskAction
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
</faultInfo>
</operationErroredFault>
</part></operationErroredFault></fault></messages>

The same flow and source work fine in 10.1.3.3.1.

The same task which worked when approved from worklist, throws the error, if trying to complete the task using the UpdateTaskOutcome WSIF operation using TaskService partnerlink.

Another observation made is that, if passing the username/password instead of token to UpdateTaskOutcome operation, it succeeds. The error occurs only when passing the token element in
the wokflow context.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms