IBM BPM, V8.0.1, All platforms > Measuring and improving business processes > Monitoring > Event catalog > Business Process Choreographer events > BPEL process events overview > Business process events
Common Base Events for activities
Common Base Events are emitted for activities if monitoring is requested for these activities in IBM Integration Designer. A list of all the events that can be emitted by an activity can be found here. These events are also written to the audit log.
State transitions and activity events
The state changes and the events that are emitted depend on the type of activity:
- Invoke, assign, empty, reply, rethrow, throw, terminate, and Java snippet activities
Figure 1. State transitions and events for invoke activities and short-lived activities
- Pick (receive choice), wait, and receive activities
Figure 2. State transitions and events for wait, and receive activities
- Human task activities
Figure 3. State transitions and events for human task activities
- Structured activities, such as flow or sequence activities
Figure 4. State transitions and events for structured activities
Activity events
The columns in the following table contain:
- Code
- Contains the number of the event. For Business Monitor 6.0.2 format events, the value is written to the Common Base Event as an extended data element with the name BPCEventCode. For Business Monitor 6.1 format events, the value is written to the xs:any slot of the Common Base Event.
- Event name and extension name
- This column contains two values. The name of the event and the value that is set in the extensionName attribute of the Common Base Event. The extension name identifies which event specific information is contained in the Common Base Event, and it is also the name of the XML element that provides additional data about the event.
- Situation
- Refers to the situation name of the BPEL process event.
- Event nature
- A pointer to the event situation for a BPEL process element in the EventNature parameter, as they are displayed in IBM Integration Designer.
The following table describes all activity events.
Activity events Code Event name and extension name Situation Event nature Description 21006 ACTIVITY_READY
BPC.BFM.ACTIVITY.
MESSAGEStart CREATED Activity ready. This event is emitted when a human task activity is started. 21007 ACTIVITY_STARTED
For invoke activities:
BPC.BFM.ACTIVITY.
MESSAGE
For all other activity types:
BPC.BFM.ACTIVITY.
STATUSStart ENTRY Activity started. For invoke activities, a business object payload is available. 21011 ACTIVITY_COMPLETED For invoke, human task, receive, and reply activities:
BPC.BFM.ACTIVITY. MESSAGE For pick activities:
BPC.BFM.ACTIVITY.EVENT For all other activity types:
BPC.BFM.ACTIVITY.
STATUSStop EXIT Activity completed. For invoke, human task, receive, and reply activities, a business object payload is available. 21021 ACTIVITY_CLAIM_
CANCELED
BPC.BFM.ACTIVITY.
STATUSReport DEASSIGNED Claim canceled. This event is emitted when the claim for a human task activity is canceled. 21022 ACTIVITY_CLAIMED
BPC.BFM.ACTIVITY.
CLAIMReport ASSIGNED Activity claimed. This event is emitted when a human task activity is claimed. 21027 ACTIVITY_
TERMINATED
BPC.BFM.ACTIVITY.
STATUSStop TERMINATED Activity terminated. Long-running activities can be terminated as an effect of fault handling on the scope or process the activity is assigned to. 21080 ACTIVITY_FAILED
BPC.BFM.ACTIVITY.
FAILUREFailed FAILED Activity failed. This event is emitted if a fault occurs when the activity runs and the fault is propagated to the fault handlers that are defined for the enclosing scopes or process. 21081 ACTIVITY_EXPIRED
BPC.BFM.ACTIVITY.
STATUSReport EXPIRED Activity expired. This event applies to invoke and human task activities only. 42005 ACTIVITY_SKIPPED
BPC.BFM.ACTIVITY.
STATUSReport SKIPPED Activity skipped. This event applies only to activities that have join behavior defined. If the join behavior evaluates to false, then the activity is skipped and the skipped event is emitted. 42012 ACTIVITY_OUTPUT_
MESSAGE_SET
BPC.BFM.ACTIVITY.
MESSAGEReport OUTPUTSET Activity output message set. A business object payload is available. This event is emitted when the output message for a claimed human task activity is set without completing the activity, for example, to store intermediate results. The state of the activity does not change.
This event is not emitted when a human task activity is completed.
42013 ACTIVITY_FAULT_
MESSAGE_SET
BPC.BFM.ACTIVITY.
MESSAGEReport FAULTSET Activity fault message set. Business object payload is available. This event is emitted when a fault message for a claimed human task activity is set without completing the activity. This event is not emitted when a human task activity is completed with a fault.
42015 ACTIVITY_STOPPED
BPC.BFM.ACTIVITY.
STATUSStop STOPPED Activity stopped. An activity can be stopped if an unhandled fault occurs when the activity runs. 42031 ACTIVITY_FORCE_
RETRIED
BPC.BFM.ACTIVITY.
STATUSReport FRETRIED Activity forcibly retried. To force activities to retry, use Business Process Choreographer Explorer. 42032 ACTIVITY_FORCE_
COMPLETED
BPC.BFM.ACTIVITY.
STATUSStop FCOMPLETED Activity forcibly completed. To force activities to complete use Business Process Choreographer Explorer. 42036 ACTIVITY_MESSAGE_
RECEIVED
BPC.BFM.ACTIVITY.
MESSAGEReport EXIT A pick (receive choice) activity has received a message 42037 ACTIVITY_LOOP_
CONDITION_TRUE
BPC.BFM.ACTIVITY.
STATUSReport CONDTRUE Loop condition true 42038 ACTIVITY_LOOP_
CONDITION_FALSE
BPC.BFM.ACTIVITY.
STATUSReport CONDFALSE Loop condition false 42039 ACTIVITY_WORKITEM_
DELETED
BPC.BFM.ACTIVITY.
WISTATUSReport WI_DELETED Work item deleted. This event applies to pick, human tasks, and receive events only. 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.
42040 ACTIVITY_WORKITEM_
CREATED
BPC.BFM.ACTIVITY.
WISTATUSReport WI_CREATED Work items created. This event applies only to pick, human tasks, and receive events. 42050 ACTIVITY_ESCALATED
BPC.BFM.ACTIVITY.
ESCALATEDReport ESCALATED Activity escalated. This event applies only to pick, human tasks, and receive events when the escalation associated with the human task activity is raised. 42054 ACTIVITY_WORKITEM_
REFRESHED
BPC.BFM.ACTIVITY.
WISTATUSReport WI_REFRESHED Activity work items refreshed. This event applies only to pick, human tasks, and receive events. 42055 ACTIVITY_WORKITEM_
TRANSFERRED
BPC.BFM.ACTIVITY.
WITRANSFERReport WI_TRANSFERRED Work item transferred. This event applies only to pick, human tasks, and receive events. 42057 ACTIVITY_PARALLEL_
BRANCHES_STARTED
BPC.BFM.ACTIVITY.
FOREACHReport BRANCHES_STARTED This event is emitted when branches are started for a forEach activity. 42060 ACTIVITY_
CUSTOMPROPERTY_SET
BPC.BFM.ACTIVITY.
CUSTOMPROPERTYSETReport CP_SET This event is emitted when a custom property of an activity instance is changed. 42061 ACTIVITY_BRANCH_
CONDITION_TRUE
BPC.BFM.ACTIVITY.
CONDITIONReport CONDTRUE This event is emitted when the case condition of a choice activity evaluates to true. There is, at most, one event with the case element condition set to true for each navigated choice activity instance. That is, non-entered case elements are not honored by an event, and otherwise elements provoke the same event as condition case elements. 42062 ACTIVITY_ALL_BRANCH_
CONDITIONS_FALSE
BPC.BFM.ACTIVITY.
STATUSReport ALLCONDFALSE This event is emitted when no case element was used and no otherwise element exists. In this case, the navigation continues at the end of the choice construct. 42063 ACTIVITY_JUMPED
BPC.BFM.ACTIVITY.
JUMPEDReport JUMPED This event is emitted after the final activity event of the source activity of the jump action and before the first event of the target activity. 42064 ACTIVITY_SKIP_
REQUESTED
BPC.BFM.ACTIVITY.
SKIP_REQUESTEDReport SKIP_REQUESTED Skip activity requested. This event is emitted if the corresponding activity is not in an active state and a skip or cancelSkipRequest API is called. In this case, the request has no immediate effect on the navigation. The event contains a flag to distinguish between a skip and a cancelSkipRequest call. The ECSCurrentID for the event to be skipped is not set to the AIID of the associated activity.
42065 ACTIVITY_SKIPPED_
ON_REQUEST
BPC.BFM.ACTIVITY.
SKIPPED_ON_REQUESTReport SKIPPED_ON_REQUEST Event skipped on request. This event is emitted when the navigation after an activity that is marked for skipping is continued. 42069 ACTIVITY_TIMER_
RESCHEDULED
BPC.BFM.ACTIVITY.
TIMER_RESCHEDULEDReport TIMER_RESCHEDULED This event is emitted when a rescheduleTimer request is processed. This event can be produced for wait, human task, invoke, and pick activities. 42070 ACTIVITY_SKIPPED_
ON_EXIT_
CONDITION
BPC.BFM.ACTIVITY.SKIP_
ON_EXIT_CONDITION_TRUEReport SKIPPED_ON_EXIT_CONDITION_TRUE This event is emitted when an exit condition of the onEntry type evaluates to true, and the activity is skipped for this reason. 42072 ACTIVITY_CHILD_PROCESS_
TERMINATING
BPC.BFM.ACTIVITY.CHILD_
PROCESS_TERMINATINGReport CHILD_ PROCESS_TERMINATING This event is emitted if the corresponding activity is an invoke activity in the running state, has a child process, and the forceRetry, forceComplete, or skip API is called or the activity expires. 42073 ACTIVITY_CONDITION_
FORCED
BPC.BFM.ACTIVITY.
CONDITIONFORCEDReport ACTIVITY_CONDITION_FORCED An activity that has stopped because of an error evaluating a join condition was forced to continue navigating. 42074 ACTIVITY_LOOP_
CONDITION_FORCED
BPC.BFM.ACTIVITY.
CONDITIONFORCEDReport ACTIVITY_LOOP_CONDITION_FORCED An activity that has stopped because of an error evaluating a repeat-until or while loop condition was forced to continue navigating. 42075 ACTIVITY_FOR_EACH_
COUNTERS_FORCED
BPC.BFM.ACTIVITY.
COUNTERSFORCEDReport ACTIVITY_FOR_EACH_COUNTERS_FORCED An activity that has stopped because of an error evaluating a for-each loop condition was forced to continue navigating. For most activity events, the following event correlation sphere identifiers have the following content:
- The ECSCurrentID provides the ID of the activity.
- The ECSParentID provides the ID of the containing process.
For the BPC.BFM.ACTIVITY.CUSTOMPROPERTYSET and BPC.BFM.PROCESS.CUSTOMPROPERTYSET events, the ECSCurrentID is set to the process instance ID. The ECSParentID is set according to the context of the process instance.
Attention: The associatedObjectID and the associatedObjectName fields specify the activity or process instance ID or name of the associated object for these events.
Related concepts:
State transition diagrams for activities
Related reference:
Event data specific to BPEL processes
Situations in BPEL process events
Extension names for BPEL process events