Output mapping doesn't create an incident if a variable is missing #9543
Labels
area/reliability
Marks an issue as related to improving the reliability of our software (i.e. it behaves as expected)
kind/bug
Categorizes an issue or PR as a bug
scope/broker
Marks an issue or PR to appear in the broker section of the changelog
severity/mid
Marks a bug as having a noticeable impact but with a known workaround
version:1.3.13
version:8.1.0-alpha4
version:8.1.0
Marks an issue as being completely or in parts released in 8.1.0
Describe the bug
I deployed a BPMN process with a task. The task has an output mapping that adds (or updates) a property of a variable
a.b
.Now, the job of the task is completed (accidentally) without the variable
x
that is referenced as the variable assignment value.If the process instance doesn't have the variable
a
then an incident is created, as expected. The incident has the following error message:But if the process instance has the variable
a
then no incident is created. Instead, the variablea
is set tonull
and the task is completed.To Reproduce
.txt
ending){ "a": { "c": 1 } }
task-a
without variablesExpected behavior
An incident is created if a job is completed without a variable that is referenced as the variable assignment value of an output mapping.
The behavior should be consistent. For the case that the variable is present and the case that the variable is not present.
Log/Stacktrace
None.
Environment:
8.0.2
The text was updated successfully, but these errors were encountered: