When you use events, you first need to decide which event
type to use. If an event type does not exist that meets the requirements
of your process, you can create a custom event type.
Custom event types require that you create a data schema. You
create a data schema using an XML Schema Definition (XSD) file.
Optionally, you can include event message data by defining a separate
XSD file, which is useful when you want to pass data from one process
to another.
The example process diagram uses the event throw as the only
step in the process. However, the event throw can occur between
a series of operations in the process, according to the requirements
of the process.
Also, the example event throw used literal values to populate
the event data. However, a more typical implementation uses process
data that is gathered at run time as event data. When run-time data
is used, more meaningful filters can be configured on the event
start point for deciding whether the process executes.