Why is my conditional event triggered twice?

I have this simple diagram:


When I start this process from Tasklist and pass a variable that satisfies the conditional event from the event subprocess, I notice there are two "Some task"s in my Tasklist. How? Shouldn’t it be just one, as the event is triggered only once?

Here is BPMN if you want to test it.diagram_1.bpmn (3.8 KB)

Hi @stefanpg,

I believe that restricting triggering of condition evaluation to only update event is enough in your case and solves the problem.
I tried to specify update value for “Variable Events” of the conditional start event and it worked properly.

But if only create value is set, problem still exists wheares I expected it to work properly.

https://docs.camunda.org/manual/7.15/reference/bpmn20/events/conditional-events/#condition

Edit:
It seems this behavior is related to condition evaluation being triggered on scope instantiation so in the case of create event it gets triggered twice on scope instantiation and on create event

https://docs.camunda.org/manual/7.15/reference/bpmn20/events/conditional-events/#triggering-on-scope-instantiation

1 Like