Process variable is not identified

I have a simple process, where an intermediate message is placed between user and gateway and the variable from the message is validated in the gateway to decide the execution path. But I am getting below error.
Unknown property used in expression: #{validIR == true}. Cause: Cannot resolve identifier 'validIR’
I have attached the bpmn file.
ukcit.bpmn (5.5 KB)

Below is error stack.
org.camunda.bpm.engine.ProcessEngineException: Unknown property used in expression: #{validIR == true}. Cause: Cannot resolve identifier ‘validIR’
at org.camunda.bpm.engine.impl.el.JuelExpression.getValue(JuelExpression.java:63)
at org.camunda.bpm.engine.impl.el.UelExpressionCondition.evaluate(UelExpressionCondition.java:50)
at org.camunda.bpm.engine.impl.el.UelExpressionCondition.evaluate(UelExpressionCondition.java:45)
at org.camunda.bpm.engine.impl.bpmn.behavior.ExclusiveGatewayActivityBehavior.doLeave(ExclusiveGatewayActivityBehavior.java:64)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityLeave.execute(PvmAtomicOperationActivityLeave.java:56)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityLeave.execute(PvmAtomicOperationActivityLeave.java:32)
at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:99)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:131)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:111)
at

Below is postman api request
{
“messageName” : “receive_ir”,
“businessKey” : “10”,
“processVariables” : {
"validIR " : {“value” : true, “type”: “Boolean”}
},
“resultEnabled”:true,
“variablesInResultEnabled”:true
}

Hi @syedkp, You have a typo in your request, there is a whitespace in "validIR "…

1 Like

@McAlm - Thanks for highlighting the typo. Its my bad, was breaking my head for long time. Anyways thnx.