My Oracle Support Banner

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

Last updated on MARCH 30, 2019

Applies to:

Oracle(R) BPEL Process Manager 10g - Version 10.1.3.1 and later
Information in this document applies to 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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.