# 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:

By default, Event Choice nodes are created with two branches. Click 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. From the node builder, select the event for which this branch waits:

- A Client Request
- A Client Request with Return
- A Message Broker Subscription
- A Synchronous Message Broker Subscription

3. Close the node builder by clicking the X in the top right-hand corner.

The drop target on your Event Choice branch is changed to reflect the event you specified.

4. To complete the specification of events, double-click the event nodes on the Event Choice branches to invoke the associated node builder:

- To learn how to use the node builder to complete the Client Request node, see Design Your Client Request Node.
- To learn how to use the node builder to complete the Client Request with Return node, see To Complete the Design of Your Client Request with Return Node Group.
- To learn how to use the node builder to complete the Message Broker Subscription node, see To Complete the Design of Your Subscription Start Node.
- To learn how to use the node builder to complete the Synchronous Message Broker Subscription node, see To Complete the Design of Your Synchronous Subscription Start Node.

5. 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?