For context I am new to bpmn/camunda and trying to play around with flows and zeebe for orchestrating microservices. I had a very simple workflow with a human task in the middle of it which is a generated form with a single checkbox. I simply want to direct the flow based on the condition of that checkbox being checked or unchecked. I am struggling to understand how to access this variable in a conditional expression in the gateway branches.
At first I thought the variable name to use in the condition maps to the “key” field, which I have set to “isChecked”, and in my connectors conditional expression I have “=isChecked = false” (true on other connector). After executing and checking the box and completing the human step, I get an incident that “isChecked” is undefined.
Then I tried mapping an output variable from the human task where source = isChecked, target = someDifferentName (also tried the other way around), and I still get the error that the variable is undefined when trying to evaluate the condition.
I’m sure this is a very simple thing, but I cannot for the life of me figure out how to access variables from generated forms. I’ve included a screenshot of the flow.