GATEWAY decision xor

Hello I have a short question I would like to build a gateway (xor) decision if I would click on aproved the process should bend
and if i would click on refus the process goes back to the previous activity for correction

Rechnungsautomation.bpmn (6.1 KB)

Hi @chahramane_hafid,

In your model both variables approv and refus are of type Boolean, But you are comparing it from string. i.e. ${approv==‘true’} (as you have put true inside quotes).

Instead you can directly use the variable or compare it with bool. i.e. ${approv} or ${approv==true}

Here is the updated BPMN. Rechnungsautomation.bpmn (5.7 KB)

Also there is one additional flow in your model, that is causing issue… for now i have removed.

Regards,
Anmol

Thank you very much, I realized my mistake
it works now thank you very much

I have a question, do you know how I can do the user distribution?
for example
each user task will be done by a specific user