ProcessEngineException Unknown property used in expression for delegateexpression

Hi Team,

We are using camunda as spring boot application and running as microservice as 3 instances. And we are using service task with delegateexpression , but randomly we are seeing below exception. We have set property camunda.bpm.job-execution.deployment-aware=true. Even then we are seeing such issues.

org.camunda.bpm.engine.ProcessEngineException: Unknown property used in expression: ${testDelegate}. Cause: Cannot resolve identifier ‘testDelegate’
at org.camunda.bpm.engine.impl.el.JuelExpression.getValue(JuelExpression.java:60)
at org.camunda.bpm.engine.impl.el.JuelExpression.getValue(JuelExpression.java:48)
at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior$3.call(ServiceTaskDelegateExpressionActivityBehavior.java:103)
at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior$3.call(ServiceTaskDelegateExpressionActivityBehavior.java:98)
at org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.executeWithErrorPropagation(AbstractBpmnActivityBehavior.java:108)
at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.performExecution(ServiceTaskDelegateExpressionActivityBehavior.java:123)
at org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior.execute(TaskActivityBehavior.java:65)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute$2.callback(PvmAtomicOperationActivityExecute.java:57)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute$2.callback(PvmAtomicOperationActivityExecute.java:46)
at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.continueIfExecutionDoesNotAffectNextOperation(PvmExecutionImpl.java:1958)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute.execute(PvmAtomicOperationActivityExecute.java:38)
at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationActivityExecute.execute(PvmAtomicOperationActivityExecute.java:27)
at org.camunda.bpm.engine.impl.interceptor.AtomicOperationInvocation.execute(AtomicOperationInvocation.java:91)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.invokeNext(CommandInvocationContext.java:125)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performNext(CommandInvocationContext.java:104)
at org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext.performOperation(CommandInvocationContext.java:79)

It looks like you have a process model (version) in your DB, which contains the expressing $[testDelegate}.

You could download all deployment and perform a text search on the files, for instance using the REST API: Camunda Automation Platform 7.21.0-SNAPSHOT REST API
Camunda Automation Platform 7.21.0-SNAPSHOT REST API

@rob2universe , i was just thinking if i can use retry time cycle configuration to get rid of this incident on start event as shown in image. But not sure if retry time cycle will cause any duplicates?

Will retry happens only if there is any incident happens on the start event step on camunda workflow as shown below?

image

Hi Praveen_buya!

I’m facing the same problem

Did you manage to solve it?

Thanks

BTW, we used timer and had the same problem…

@Javigd17 upload your bpmn model. Are you using eclipse to model the bpmn? Camunda eclipse modeling plugin was deprected. I recommend you to download & use the latest camunda modeler