Follow these steps to run the accompanying Java program which complements the
CorrelationsExample project.
If you are interested in learning how the example is implemented, the complete
Java code is located at
<ORABPM_HOME>/samples/advanced/correlations/java/.
-
Run script run.bat (Windows) or run.sh
(Linux/MacOSX) to start the ReleaseInvoice Java program.
The script is located at
<ORABPM_HOME>/samples/advanced/correlations/.
The application window should appear.
Figure 1. ReleaseInvoice example Java application
It connects to the running process and retrieves the list of process instances
waiting on the Wait for Release activity. See The Accept Invoice Process.
- Select any invoice number from the list and click Approve Invoice.
A confirmation message appears. Click OK. The
selected invoice number show no longer appear on the list.
- Login to WorkSpace to verify that the associated process instance in the
Accept Invoice process has been
notified and approved. See Running the Example Process.