Quick Tip: Oracle BPM 11g How to enable Applications and External Links on custom ADF Tasklist Taskflow

worklist with Applications and Links embedded in custom ADF application

Worklist with Applications and Links embedded in custom ADF application

When creating a custom ADF application using Oracle BPM 11g to surface the BPM worklist, we found that the “Applications” and “Links” do not work when using just the out of box tasklisttaskflowdefinition.xml ADF task flow provided by Oracle.

The following needs to be done to make this work correctly:

1. Make sure you have installed the MLR patch number 18609527 (SOA 11.1.1.7.4) or the latest bundle patch.

2. Include the following in the ADF page definition xml file:

This must include two references of the processApplicationsTaskFlow.xml and externalLinkstaskflowdefinition.xml.

<taskFlow id="processApplicationsTaskflow1"
taskFlowId="/WEB-INF/processApplicationsTaskflow.xml#processApplicationsTaskflow"
activation="deferred"
xmlns="http://xmlns.oracle.com/adf/controller/binding">
<parameters>
<parameter id="viewId" xmlns="http://xmlns.oracle.com/adfm/uimodel"
value=""/>
</parameters>
</taskFlow>
<taskFlow id="processApplicationsTaskflow2"
taskFlowId="/WEB-INF/processApplicationsTaskflow.xml#processApplicationsTaskflow"
activation="deferred"
xmlns="http://xmlns.oracle.com/adf/controller/binding">
<parameters>
<parameter id="viewId" xmlns="http://xmlns.oracle.com/adfm/uimodel"
value=""/>
</parameters>
</taskFlow>
<taskFlow id="externallinkstaskflowdefinition1"
taskFlowId="/WEB-INF/external-links-task-flow-definition.xml#external-links-task-flow-definition"
activation="deferred"
xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
<taskFlow id="externallinkstaskflowdefinition2"
taskFlowId="/WEB-INF/external-links-task-flow-definition.xml#external-links-task-flow-definition"
activation="deferred"
xmlns="http://xmlns.oracle.com/adf/controller/binding"/>

Also you need to include the following jars (from OracleBPMWorkspace.ear) as part of the libraries and classpath of your custom ADF UI application.

librariesandclassoracle.bpm.security.jar
oracle.bpm.web-resources.jar
oracle.bpm.workspace.model.jar
oracle.bpm.workspace.adf.jar
oracle.bpm.jsfcomponents.jar
oracle.bpm.workspace-adflib.jar

Vikram

Director at Fusion Applied
Vikram is a software team leader and developer with over 13 years' experience developing software and managing projects in challenging, fast-paced consulting environments. An experienced OO developer with expertise in J2EE and Oracle Fusion Middleware technologies. His current focus is on helping customers build solutions using the Oracle Fusion Middleware stack including Oracle SOA Suite 11g, BPM, ADF & WebCenter Suite.
Vikram

2
Leave a Reply

avatar
1 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
VikramPrateek Pandey Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Prateek Pandey
Guest
Prateek Pandey

Hi Vikram,

Can you help me in developing customizing links in BPM workspace for all users? I need the code for BPM 11g, I need to put several hyperlinks in that ‘Links’ panel.