Running Correlations Java program

Follow these steps to run the accompanying Java program which complements the CorrelationsExample project.
Before running this Java application, the CorrelationsExample project must be running in Studio. See Running the Example Process.

If you are interested in learning how the example is implemented, the complete Java code is located at <ORABPM_HOME>/samples/advanced/correlations/java/.

  1. 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.
    ReleaseInvoice example Java application
    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.

  2. 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.

  3. 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.
Related concepts
The Accept Invoice Process
Related tasks
Running the Example Process