Start points
are a special type
of event receive that initiate short-lived and long-lived processes
when events are thrown. Start points always react to events that are
thrown. Start point events are similar to an event receive except
that it starts listening for events as soon as the process is activated.
You configure
event filters
for start points that determine
whether event throws are to be acted on. Event filters are based
on the information in the event data. The event data and the event
message data can be saved as process data.
A process diagram can have multiple start point events but only
one of each type. For example, you can have only one TaskConsulted
start point event and only one TaskEscalationTimer start point event.
All start points are automatically connected with a route to the
start activity of the process.
Add event start points
-
Drag the event
to
an unused part of the process diagram.
-
(Optional) In the Name box, type a new name to replace the
default name.
-
(Optional) To search for a specific event, replace the default
string in the Find box with a value.
-
In the Event Behavior Configuration dialog box, ensure that
Event StartPoint is selected.
-
(Optional) Add event filters. (See
Add event filters
.)
-
(Optional) Store event data to process variables. (See
Add a process data map
.)
Note:
The variables
you store values to must be input variables.
-
Click OK.
Configure event start points
A start point event is similar to an event receive except
that it starts listening for events as soon as the process is activated.
A process diagram can have multiple start point events but only
one of each type. For example, you can have only one TaskConsulted
start point event and only one TaskEscalationTimer start point event.
All start points are automatically connected with a route to the
start activity of the process.
Configure an event as a start point:
-
For an event throw or receive that is already on the process
diagram, right-click the event and select Set Start Point. The Event
Start Point Configuration dialog box appears.
-
In the Name box, type a name for the event that is meaningful
and descriptive. This value is displayed in the process diagram.
-
On the Filter tab, create a filter for the event. (See
Creating event filters
.)
-
On the Callback Process Data Map tab, create a process data
map for the event. (See
Storing event data to process variables
.)
-
Click OK.
Setting an event as the start activity
You can configure event throws
as the start activity in your process to notify listeners that the
process has started. For example, the start activity can send a notification
to the server when your process is invoked.
If you want to start a process in reaction to an event that has
occurred, use an event start point. (See
Event start points
.)
Set events as the start activity
|
|
|