Hi,
I'm using JDev 11.1.1.9
I prepared custom worklist for webcenter portal and I'm getting tasks of user with bpm api.
For a bpm application, I deployed 2 different version to soa server. They have different URI for their UI project, like following URI:
/workflow/v0.2b/PersonelBPM_ADF/faces/adf.task-flow?_id=PersonelHT_TaskFlow&_document=WEB-INF/PersonelHT_TaskFlow.xml
/workflow/v0.1b/PersonelBPM_ADF/faces/adf.task-flow?_id=PersonelHT_TaskFlow&_document=WEB-INF/PersonelHT_TaskFlow.xml
Also I'm showing task to user in a inline popup using modal-dialog-task-flow. For show task to user, I'm getting display url following code,
Map parameters = new HashMap();
parameters.put(Constants.BPM_WORKLIST_TASK_ID,
task.getSystemAttributes().getTaskId());
parameters.put(Constants.BPM_WORKLIST_CONTEXT,
getWfCtx().getToken());
parameters.put(Constants. BPM_PARENT_URL,
ProjectUtils.getSOAUrl() + "/worklist");
//--
//---------------------------------
String taskURL =
WorklistUtil.getTaskDisplayURL(getWfSvcClient(),
getWfCtx(), task, null,
"worklist", parameters);
This code is giving to me task url; but it's not giving right task url for different version of applications.
Example, I started the process separately. 1 process in 0.1 version, 1 process in 0.2 version.
When I get tasks url, they are same workflow URI for all process in this application; but I'm expecting like following urls:
For 0.1b version:
http://<hostname>:<port>/workflow/v0.1b/PersonelBPM_ADF/faces/adf.task-flow?_id=PersonelHT_TaskFlow&_document=WEB-INF/PersonelHT_TaskFlow.xml/...............................
For 0.2b version:
http://<hostname>:<port>/workflow/v0.2b/PersonelBPM_ADF/faces/adf.task-flow?_id=PersonelHT_TaskFlow&_document=WEB-INF/PersonelHT_TaskFlow.xml/...............................
Also I checked URI of soa composite in Enterprise Manager, they have different URI.
Thanks,
Jack.