Step 2: Create Process Definitions
In TIBCO Designer, you create process definitions by dragging Process Definition resources from the palette panel to the design panel. You name each process definition and give the process a description, then add activities to the process.
Figure 36: Adding process definitions to your project
For simple business processes, activities are added in sequence, then transitions are added as appropriate.
For complex business processes, it makes sense to design a main process and several subprocesses. Using subprocesses makes your process easier to understand and debug. Subprocesses also potentially allow reuse of business process components.
Our example program includes several different processes:
-
In the main process, which is called
ProcessOrder
, aJMS Queue Receiver
waits for input. When it arrives, the main process first interacts with the Order Management system, then calls theShippingSchedule
process: -
The
ShippingSchedule
process retrieves information about the shipping schedule from the Shipping web site and adds shipping information to the order. It sends an email to the customer if shipping is delayed, otherwise enters the order into the Siebel system right away.