If condition for IO mapping

Hello,
I am trying to add a condition in my IO mapping, but I am having trouble. What I want to do is to add a condition in my output mapping. For example : if (statusCode=204) return false and map the false value to an output variable. Any idea ? Thank you

I solved my problem :slight_smile: after some tests I forced the modeler to accept the sysntax, I edited my bpmn file using the notepad and set the output source as following:
“=if(statusCode=200)then body else {}”
Thank you

1 Like

Hi @nizare,

Glad to hear that you already found a workaround for this problem. This is a known bug in the modeller (see https://github.com/zeebe-io/zeebe-modeler/issues/223).

As a small tip (for when you need to make additional changes to your IO mapping), the XML is also editable in the Zeebe Modeler. To access the XML editor just click the XML tab in the left bottom.

1 Like