-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
Scenario
A user has two different Error End Events, each referencing a different <error /> and a "catch-all" error start event in an event subprocess. Since the start event can catch two different errors, the user wants to reason about which error has been caught by the start event by storing error code and error message as variables. While it is currently possible to specify an error message when throwing an error from delegation code with new BpmnError(code, message) it is not possible to do so when defining the error end event.
Feature Description
Given:
- An error end event which references a BPMN Error definition with camunda:errorMessage defined as in the following example:: <bpmn:error id="Error_1x1ymni" name="INVALID_DATA" errorCode="1231" camunda:errorMessage="The data provided is invalid" />
- An error start event which uses camunda:errorMessageVariable="foo"
When
The end event is executed
Then
The start event is triggered and after executing it, the variable foo contains the value "The data provided is invalid".
This is the controller panel for Smart Panels app
- is related to
-
CAM-10573 I can use an expression for the errorMessage of a BPMN error
- Closed
- links to