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: to
This problem can occur on any platform.


You try to get a HumanWorkFlow Tasklist from BPEL 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 =
taskQueryService = client.getTaskQueryService();
ctx = taskQueryService.createContext(req);


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