Hi Team,
I am using Boundary Event when I am updating process variable to send these updated value to other system so I am using listener.
Listener is executing expected as per given expression but my task is closing (even Process instance).
<bpmn:boundaryEvent id=“BoundaryEvent” name=" Data Variable Update" attachedToRef=“VALIDATION_TASK”>
bpmn:extensionElements
<camunda:executionListener class=“com.abc.VariableUpdateEvent” event=“start” />
</bpmn:extensionElements>
<bpmn:conditionalEventDefinition camunda:variableName=“CASE_DATA” camunda:variableEvent=“update”>
<bpmn:condition xsi:type=“bpmn:tFormalExpression”>${CASE_DATA != null}</bpmn:condition>
</bpmn:conditionalEventDefinition>
</bpmn:boundaryEvent>
When I am updating CASE_DATA variable with null then no execution of listener and When CASE_DATA is not null then listener is executing.
As per my workflow, Task should still remain on my User Task “VALIDATION_TASK”.
Please provide you input.
Thanks,
Sunil Kaushik