The Getcontent In Anytype Generated For Xsd:Anytype Does Not Return Child Nodes (Doc ID 444587.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.1
This problem can occur on any platform.

Symptoms

You have a BPEL process with a standard human task interaction using anyType as process input.
You assign this input to the human task payload (also anyType).
Deploy and start the process with a little bit complex XML structure as process input.
Get the task payload with the Worklist API as below.
You get only the XMLElement without the child Nodes in your Payload.
The rest of your input (XML as a Task payload) is missing.

eg:

IWorkflowServiceClient wfSvcClient =
WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
ITaskQueryService queryService = wfSvcClient.getTaskQueryService();
IWorkflowContext context = queryService.authenticate("jcooper", "mypassword", "jazn.com",null);
Task task = queryService.getTaskDetailsByNumber(context, 10023);
task.getPayload();
AnyType myPayload = task.getPayload();

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