Hi,
After upgrades to both Spring Boot as well as Flowable, Delegate Expressions are not resolved.
Spring Boot 2.5.6 with embedded Flowable 6.7.1 through the starters.
Hoping for some tips before i start dissecting this
<serviceTask id="servicetask4" name="Call MyBean" activiti:delegateExpression="${myBean}">
<extensionElements>
<activiti:field name="var1">
<activiti:string><![CDATA[var1Value]]></activiti:string>
</activiti:field>
<activiti:field name="var2">
<activiti:string><![CDATA[var2Value]]></activiti:string>
</activiti:field>
</extensionElements>
</serviceTask>
doesn’t find bean “myBean” through DelegateExpressionUtil.
Exception thrown in JuelExpression:
throw new FlowableException("Unknown property used in expression: " + expressionText, pnfe);
Adding the bean manually in my customProcessEngineConfigurer resolves the issue.
Did something fundamental change?
What is the point of this?
SpringProcessEngineConfigurator:
if (springProcessEngineConfiguration.getBeans() == null) {
springProcessEngineConfiguration.setBeans(springProcessEngineConfiguration.getBeans());
}