Communicating between processes using signals
In this practice activity, we will explore how to use signals to create publish/subscribe style communication between process instances, as illustrated in the following diagram. You may recall that when using signals, the sending process does not know which (if any) other processes will receive the signal.
Create a new BPM Application in JDeveloper. Name both the application and the project as
Practice3
. Choose the option to create an emty composite.Let's start by defining an event. First, we will need a data type definition for the event. We will place this in an XSD file:
Create a new XSD file as
myEvent.xsd
. You may need to change to the All Technologies tab in New Gallery and choose XML on the left-hand side and XML Schema on the right-hand side of the screen.Right-click on exampleElement and add sequence inside it. Then, right-click on sequence and add an element inside that.
Right-click on element and set its type to xsd:string. Your XSD should...