Shared process engine - tomcat - Unknown property used in expression

Hi,

I am using container shared process engine and deployed all my microservices into same container.

  1. Tomcat
  2. Multiple Microservices - each has excluded tomcat, camunda-engine-spring.

Able to complete the workflow successfully, if have given package name and java class option in the implementation dropdown of the camunda modeler.

Delegate Expression is also working for Unshared Process engine.

I am facing issue only on shared process engine with Delegate Expression and
got Unknown property used in expression: ${beanName} Cause: Cannot resolve identifier ‘beanName’.

I have used camunda-engine-spring in the each application and heard that SpringProcessApplicationElResolver will detect automatically to identify the right application context. am not sure how to validate this and pls help me on this.

Hi,

Instead of loading SpringProcessApplicationElResolver , CompositeELResolver is getting loaded. camunda-engine-spring is located on the individual application’s lib path not on the global/tomcat lib.

Hi,

I found that inside CompositeELResolver has ApplicationContextElResolver and its applicationContext is null.

But for testing purpose, created simple controller to validate the bean name by using the following code and it is working fine. If i used the same bean name(“validateCustomerDetails”) in BPMN, got unknown property.

ApplicationContext applicationContext = customerProcessApplication.getApplicationContext();
ValidateCustomerDetails validateCustomerDetails =
(ValidateCustomerDetails) applicationContext.getBean(“validateCustomerDetails”);