BpmnErrorEventDefinition
Event definition for an error.
: BpmnErrorEventDefinition (architecture_autodiagram)
Figure 31 : BpmnErrorEventDefinition (architecture_autodiagram)
ErrorCodeBpmnErrorEventDefinitionBpmnEventDefinition
Attribute
Description
string ErrorCode [1..1]
For an End Event: If the result is an Error, then the errorCode MUST be supplied (if the processType attribute of the Process is set to executable) This ?throws? the Error. For an Intermediate Event within normal flow: If the Trigger is an Error, then the errorCode MUST be entered (if the processType attribute of the Process is set to executable). This ?throws? the Error. For an Intermediate Event attached to the boundary of an Activity: If the Trigger is an Error, then the errorCode MAY be entered. This Event ?catches? the Error. If there is no errorCode, then any error SHALL trigger the Event. If there is an errorCode, then only an Error that matches the errorCode SHALL trigger the Event.