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: 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);


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

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.