cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing workflow variables with periods

kapil00
Champ in-the-making
Champ in-the-making
We are having issues with expression when trying to access variables that have period(.) in them.

${task1.isDataAvailable == 'true'}

Error:
org.activiti.engine.impl.javax.el.PropertyNotFoundException: Cannot resolve identifier 'task1'

Looks like it assumes "task1" to be a bean and get property "isDataAvailable".

Any way to access these variables in expressions?

Thanks.
1 REPLY 1

kiddinho
Champ in-the-making
Champ in-the-making
Hi kapil00!
You can use execution.getVariable("task1.isDataAvailable"); or use another variable name