Defining the process workflow for receiving messages from external applications
To define process workflow for receiving messages from external applications:
1. Create a new application with the following dataslots:
Dataslot name
Data type
OrderID
CHARACTER
OrderData
CHARACTER
For simplicity, we assume all the data about an order is stored in the OrderData dataslot.
2. After defining the dataslots, click the Diagram tab and create the process flow, as shown in the figure below.
Figure 18. Process template for receiving messages from external applications
The Start workstep is used to manually enter the ID of the order that is being processed. The Receive workstep is performed by the JMS Adapter to retrieve the message from JMS and extract the order data. Finally, the order data is presented to the user in the ShowOrder workstep.
3. To configure the human-performed worksteps:
a. Double-click the Start workstep to open the Properties view. Click the Fields tab and add the OrderID dataslot as workstep output. Click OK.
b. Similarly, include both OrderID and OrderData dataslots in the ShowOrder workstep.