My Oracle Support Banner

Unable To Obtain a BPEL IWorkFlowContext Using a SSO Authenticated Request (Doc ID 445046.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

You try to get a HumanWorkFlow Tasklist from BPEL 10.1.3.1 in an ADF(10.1.3)Webapplication which is configured using SSO.

You initially try to authenticate against the ITaskQueryService and able to get the tasks of a specific user .This type of hardcoded authentication is not applicable.

Hence, you try the following code to create a IWorkflowContext :

But you encounter the ctx value to be <null>.

The ITaskQueryService is not able to create a IWorkflowContext from an authenticated request.

client =
WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFacto
ry.REMOTE_CLIENT);
taskQueryService = client.getTaskQueryService();
ctx = taskQueryService.createContext(req);

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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

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