Unknown Property used in expression : #{awaitingDispositioning}


I am new to Camunda ,just was checking a XOR gateway with expression as provided below :

<bpmn:sequenceFlow id=“Flow_1pzpoe8” sourceRef=“Gateway_0qwbm55” targetRef=“Gateway_13tvfs7”>
<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”>#{not awaitingDispositioning}</bpmn:conditionExpression>
<bpmn:sequenceFlow id=“Flow_1yvuoen” name=“No” sourceRef=“Gateway_0qwbm55” targetRef=“Activity_0h8oe4j”>
<bpmn:conditionExpression xsi:type=“bpmn:tFormalExpression”>#{awaitingDispositioning}</bpmn:conditionExpression>

Not sure,what is the exact reason,getting unknown property used in expression error :

Does the variable "awaitingDispositioning " exists once you reach that gateway? So has it been created before within in the process? And is it a Boolean type?

can you upload your model?

This field might be in memory (not flushed to db) while executing the xor gateway, so marking asyncBefore = true in the xor gateway might solve this issue.

1 Like

Yes in code level,i am setting the variable “awaitingDispositioning” before it reaches the gateway and yes its a boolean type.

when setting the asyncBefore = true,it keeps on looping the previous delegate class

@abinmathewrajan, it’s hard to analyse your case. As per forum guidelines please upload the BPMN model or the implementation used to build the model to debug further.

1 Like