If you are currently developing a Human Task you might have wasted some time testing and redeploying your application many times. You also might have been remote debugging it, which takes quite some time due to the unresponsiveness of your remote WLS.
The steps I describe below will make your BPM Workspace application point to the Human Task running inside the Integrated WLS in JDeveloper, which means that for any changes done in the UI layer you will only need to refresh the browser to see it or rebuild a Java class to get it reflected on the business layer. Kudos go to the BPM Product Management team that has put this ant script together, I’m just making the setup process more clear.
1. Open $JDEV_DOMAIN_HOME/config/fmwconfig/system-jazn-data.xml and add the following grant for BPM. $JDEV_DOMAIN_HOME is usually located under C:\Users\<username>\AppData\Roaming\JDeveloper\system126.96.36.199.37.59.23\DefaultDomain. C:\Oracle\Middleware is where JDeveloper is installed ($JDEV_HOME).
2. Start your embedded WLS instance.
3. Download and unzip bpm-jdev.zip. Open build.properties and set the properties shown below appropriately.
4. Run ant.
5. Now we’ll check if the Human Task is pointing to the machine that hosts JDeveloper. Go to Enterprise Manager in your SOA domain and select the corresponding BPM process.
6. Click on the Human Task, in my case, CreateOrder.
7. Under the Administration tab you should see the Human Task pointing to JDeveloper’s machine.
1. Expand the Human Task project in JDeveloper, right click in the bounded task flow that references the Human Task form, and click either Run or Debug.
2. It will start JDev’s Integrated WLS and deploy the human task to the server
3. Open BPM Workspace application.
a. Create a new composite by clicking in process name under Applications.
b.Check if the address bar in the popup windows points to your Integrated WLS.