Draft comment: This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15
Events are emitted for BPEL processes if monitoring is requested for the BPEL process in
IBM® Integration
Designer. These events are
also written to the audit log.
State transitions and process events
The
following diagram shows the state transitions that can occur for a
BPEL process and the events that are emitted when these state changes
take place. The link between each state indicates the nature of the
event and the event code of the event that is emitted for the state
transitions.Figure 1. State transitions and process
events
Process events
The
columns in the following table contain:
Code
Contains the number of the event.
Event name
The name of the event.
Some process events are emitted without a state
change. The following table describes all process events.
Table 1. Process events
Code
Event name
Description
21000
PROCESS_STARTED
Process started
21001
PROCESS_SUSPENDED
Process suspended. To suspend process instances, use Business Process
Choreographer Explorer.
21002
PROCESS_RESUMED
Process resumed. Only suspended processes can be resumed. To resume
process instances, use Business Process Choreographer Explorer.
21004
PROCESS_COMPLETED
Process completed
21005
PROCESS_TERMINATED
Process terminated. To terminate process instances, use Business Process
Choreographer Explorer.
21019
PROCESS_RESTARTED
Process restarted. A process is restarted on request, for example, by
using Business Process Choreographer Explorer.
21020
PROCESS_DELETED
Process deleted
42001
PROCESS_FAILED
Process failed
42003
PROCESS_COMPENSATING
Process compensating. Only child processes can be compensated. The
compensation of a child process is triggered by a fault handler or compensation handler associated
with the parent process.
42004
PROCESS_COMPENSATED
Process compensated
42006
PROCESS_INSTALLED
These are process instance events, which are only emitted in
the audit trail. They are not emitted as events, and are included here for completeness.
42007
PROCESS_UNINSTALLED
These are process instance events, which are only emitted in the audit
trail. They are not emitted as events, and are included here for completeness.
42009
PROCESS_TERMINATING
Process terminating
42010
PROCESS_FAILING
Process failing
42027
PROCESS_CORRELATION_ SET_INITIALIZED
This event is emitted when a new correlation set for the process instance
is initialized, for example, when a receive activity with an initiating correlation set receives a
message.
This event is not associated with a state change.
42041
PROCESS_WORKITEM_ DELETED
Process work item deleted. This event is emitted only when a work item
is explicitly deleted by an API request. If the work item is deleted because the corresponding
process instance is deleted, an event is not emitted.
This event is not associated with a
state change.
42042
PROCESS_WORKITEM_ CREATED
Process work item created. This event is emitted when an additional
work item is created for the process, for example, by an API request.
This event is not
associated with a state change.
42046
PROCESS_COMPENSATION_FAILED
Process compensation failed
42047
PROCESS_EVENT_RECEIVED
Process event received. The event is emitted when an event handler that is
associated with a process is activated.
This event is not associated with a state change.
42049
PROCESS_EVENT_ESCALATED
Process event escalated. This event is emitted when an inline invocation
task is escalated that is associated with an onEvent event handler for the process.
This event is
not associated with a state change.
42056
PROCESS_WORKITEM_ TRANSFERRED
Process work item transferred.
This event is not associated with a state
change.
42058
PROCESS_PARTNER_CHANGED
Process partner changed. This event is emitted when a new endpoint
reference is assigned to a partner link.
This event is not associated with a state
change.
42059
PROCESS_CUSTOMPROPERTY_SET
Process custom property set. This event is emitted when a custom property
of a process instance is changed.
This event is not associated with a state change.
42071
PROCESS_OWNER_TRANSFERRED
This event is emitted when the ownership of a process is transferred from
one user to another.
This event is not associated with a state change.
42077
PROCESS_CORRELATION_SET_SET
This event is emitted when the value of a correlation set for the process
instance is set.
This event is not associated with a state change.
42078
PROCESS_CORRELATION_SET_UNSET
This event is emitted when the value of a correlation set for the process
instance is deleted or unset.
This event is not associated with a state change.
42079
PROCESS_MIGRATED
This event is emitted when a process is migrated to use a new
template.
This event is not associated with a state change.
42080
PROCESS_MIGRATION_TRIGGERED
This event is emitted when the migration of process instances to use a new
template is started.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15