InvalidExpressionException when building process

I have a very simple process for testing with one exclusive gate. One of the conditions out of it is “score>=90.0”. This works without issues in the previous versions but in 7.2.1 I am getting the below error when I try to build the process. Did something change with expressions in this version? Anything I need to change in this version?

!ENTRY org.bonitasoft.studio.common 4 0 2016-03-16 09:46:10.533
!MESSAGE
!STACK 0
java.lang.RuntimeException: org.bonitasoft.engine.expression.InvalidExpressionException: Condition expression score>=90.0 failed to export left operand: org.bonitasoft.studio.condition.conditionModel.impl.Expression_ProcessRefImpl@5cc8bfb0
at org.bonitasoft.studio.engine.export.EngineExpressionUtil.buildSimpleEngineExpression(EngineExpressionUtil.java:402)
at org.bonitasoft.studio.engine.export.EngineExpressionUtil.buildSimpleEngineExpressionWithName(EngineExpressionUtil.java:388)
at org.bonitasoft.studio.engine.export.EngineExpressionUtil.createExpression(EngineExpressionUtil.java:317)
at org.bonitasoft.studio.engine.export.builder.EngineSequenceFlowBuilder.caseSequenceFlow(EngineSequenceFlowBuilder.java:77)
at org.bonitasoft.studio.engine.export.builder.EngineSequenceFlowBuilder.caseSequenceFlow(EngineSequenceFlowBuilder.java:1)
at org.bonitasoft.studio.model.process.util.ProcessSwitch.doSwitch(ProcessSwitch.java:952)
at org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:53)
at org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:69)
at org.bonitasoft.studio.engine.export.DesignProcessDefinitionBuilder.processSequenceFlows(DesignProcessDefinitionBuilder.java:104)
at org.bonitasoft.studio.engine.export.DesignProcessDefinitionBuilder.createDefinition(DesignProcessDefinitionBuilder.java:63)
at org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:101)
at org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:91)
at org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:165)
at org.bonitasoft.studio.engine.operation.ExportBarOperation.exportBar(ExportBarOperation.java:113)
at org.bonitasoft.studio.engine.operation.ExportBarOperation.run(ExportBarOperation.java:105)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.bonitasoft.engine.expression.InvalidExpressionException: Condition expression score>=90.0 failed to export left operand: org.bonitasoft.studio.condition.conditionModel.impl.Expression_ProcessRefImpl@5cc8bfb0
at org.bonitasoft.studio.engine.export.expression.converter.comparison.ComparisonExpressionConverter.createExpressionForBinaryOperation(ComparisonExpressionConverter.java:84)
at org.bonitasoft.studio.engine.export.expression.converter.comparison.ComparisonExpressionConverter.convert(ComparisonExpressionConverter.java:60)
at org.bonitasoft.studio.engine.export.EngineExpressionUtil.buildSimpleEngineExpression(EngineExpressionUtil.java:399)
… 15 more

!ENTRY org.bonitasoft.studio.engine 1 0 2016-03-16 09:46:14.432

Hi,

Version 7.2.0 brings an update on Groovy version (from version 1.8.6 to version 2.4.4).
That might explain the issue.

When you say “This works without issues in the previous versions” do you mean in a 7.1.* version?

My recommendation would be to open a ticket on community issues tracker with the (7.1.*) bos file attached.

I mean it works in 7.2.0 but not 7.2.1. I will try the issues tracker.

Thanks