Title: ODE Execution Events Category: documentation ## Overview ODE generates events to let you track what is exactly happening in the engine and produces detailed information about process executions. These events are persisted in ODE's database and can be queried using the [Management API](management-api.html). The default behavior for the engine is to always generate all events for every executed action. However from a performance standpoint it's a good idea to deactivate some of the events you're not interested in (or even all of them). Inserting all these events generates a non-negligeable overhead. ## Event types The following table details each event possibly generated by ODE:
Event Name | Process/Scope | Description | Type |
---|---|---|---|
ActivityEnabledEvent | Scope | An activity is enabled (just before it's started) | activityLifecycle |
ActivityDisabledEvent | Scope | An activity is disabled (due to dead path elimination) | activityLifecycle |
ActivityExecStartEvent | Scope | An activity starts its execution | activityLifecycle |
ActivityExecEndEvent | Scope | An activity execution terminates | activityLifecycle |
ActivityFailureEvent | Scope | An activity failed | activityLifecycle |
CompensationHandlerRegistered | Scope | A compensation handler gets registered on a scope | scopeHandling |
CorrelationMatchEvent | Process | A matching correlation has been found upon reception of a message | correlation |
CorrelationNoMatchEvent | Process | No matching correlation has been found upon reception of a message | correlation |
CorrelationSetWriteEvent | Scope | A correlation set value has been initialized | dataHandling |
ExpressionEvaluationFailedEvent | Scope | The evaluation of an expression failed | dataHandling |
ExpressionEvaluationSuccessEvent | Scope | The evaluation of an expression succeeded | dataHandling |
NewProcessInstanceEvent | Process | A new process instance is created | instanceLifecycle |
PartnerLinkModificationEvent | Scope | A partner link has been modified (a new value has been assigned to it) | dataHandling |
ProcessCompletionEvent | Process | A process instance completes | instanceLifecycle |
ProcessInstanceStartedEvent | Process | A process instance starts | instanceLifecycle |
ProcessInstanceStateChangeEvent | Process | The state of a process instance has changed | instanceLifecycle |
ProcessMessageExchangeEvent | Process | A process instance has received a message | instanceLifecycle |
ProcessTerminationEvent | Process | A process instance terminates | instanceLifecycle |
ScopeCompletionEvent | Scope | A scope completes | scopeHandling |
ScopeFaultEvent | Scope | A fault has been produced in a scope | scopeHandling |
ScopeStartEvent | Scope | A scope started | scopeHandling |
VariableModificationEvent | Scope | The value of a variable has been modified | dataHandling |
VariableReadEvent | Scope | The value of a variable has been read | dataHandling |