Event Choice Start

If you specified that your business process is Invoked via one of several Client Requests or Subscriptions (Event Choice), (see To Define the Start Method for Your Business Process), your Start node is displayed as shown in the following figure:

image

By default, Event Choice nodes are created with two branches. Click image to create additional branches. A new branch is added on the left or right of the existing branches.

You can add additional nodes to the paths in your Event Choice node to specify the events executed at run time after the business process starts. The Starting Event targets at the start of each branch indicate that only certain nodes are allowed at these locations: specifically, when you use an Event Choice node at the start node in your business process, it can contain only Client Request, Client Request with Return or Subscription nodes.

Note: When you create an Event Choice node at locations other than the Start node in your business process, it can contain Client Request nodes and Control Receive nodes. To learn more about designing Event Choice nodes, see Receiving Multiple Events.

To Complete the Design of Your Event Choice Start Node

To specify the events to be executed on each branch of your Event Choice Start node, complete the following tasks for each branch of the node:

  1. Double-click the Starting Event placeholder to invoke the node builder.
  2. image

  3. From the node builder, select the event for which this branch waits:
  4. Close the node builder by clicking the X in the top right-hand corner.
  5. The drop target on your Event Choice branch is changed to reflect the event you specified.

  6. To complete the specification of events, double-click the event nodes on the Event Choice branches to invoke the associated node builder:
  7. To save your work, select File —> Save.

Related Topics

How Do I: Create a New Business Process File?

How Do I: Open an Existing Business Process?

Message Broker Controls

File Control

JMS Control

Business Process Source Code

Handling Exceptions

Adding Message Paths

Adding Timeout Paths

How Do I: Call a Business Process?

Previous Document Next Document