Conditional Event triggered multiple times

Good day

I am having trouble correctly simulating a scenario. I as customer have signed up for some products, depending on my products certain accounts has to be activated (This logic lies within my DMN). The true or false output of the DMN will trigger my conditional event. And only when this account was activated should the signal trigger the process to continue.
The problem is that while one token waits at the signal in my main process, the conditional Event being triggered just generates more tokens. How do I get my model to only trigger the Conditional event once (per token)? and not as long as the condition is true?

See below
image

Thank you

Hi,
could you please upload your bpmn file?
Cheers,
Lukas

Thank you. Just change the FICABO.txt to .js (Its my happy workers)

ActivateAccount.dmn (2.3 KB)
Activate Accounts(3).bpmn (25.2 KB)
FICABO.txt (2.3 KB)

1 Like

Hi,
I have discovered the reason of undesired token creation. Maybe someone from @camunda could explain this behavior.
Bellow is the sample project.
testConditional.bpmn (10.3 KB)

image

So the solution for you is to fill the variable name in both of your conditional start events.
Hope this helps.
Cheers,
Lukas

2 Likes

Thank you for your answer. It definitely works. My model is deploying and everything works great. This is what my Properties panel look like for the Conditional Event.

image

Great work. Thank you!

4 Likes