I’m not able to locate the variable in database, becuase i was sending that date value while starting process instance itself, so the process instance start itself failed with below error.
[org.camunda.bpm.engine.context] [logError] @ 156 : ENGINE-16004 Exception while closing command context: Unknown property used in expression: ${timerDate}. Cause: Cannot resolve identifier 'timerDate'
org.camunda.bpm.engine.ProcessEngineException: Unknown property used in expression: ${timerDate}. Cause: Cannot resolve identifier 'timerDate'
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.jobexecutor.TimerDeclarationImpl.initializeConfiguration(TimerDeclarationImpl.java:114)
at org.camunda.bpm.engine.impl.jobexecutor.TimerDeclarationImpl.postInitialize(TimerDeclarationImpl.java:142)
at org.camunda.bpm.engine.impl.jobexecutor.TimerDeclarationImpl.postInitialize(TimerDeclarationImpl.java:36)
at org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration.createJobInstance(JobDeclaration.java:120)
at org.camunda.bpm.engine.impl.jobexecutor.TimerDeclarationImpl.createTimer(TimerDeclarationImpl.java:169)
at org.camunda.bpm.engine.impl.jobexecutor.TimerDeclarationImpl.createTimerInstance(TimerDeclarationImpl.java:154)
at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.initializeTimerDeclarations(ExecutionEntity.java:407)
Are you possibly running into an issue that the variable hasn’t been persisted yet when the event subprocess is started? You could try adding the asynchronous before checkmark to the process’ start event to see if it’s that. Although the event subprocess scope might also be created as part of the process creation, I’m not sure
With same bpmn i was getting 500 internal server error from postman.
[org.camunda.bpm.engine.context] [logError] @ 156 : ENGINE-16004 Exception while closing command context: Unknown property used in expression: ${timerDate}. Cause: Cannot resolve identifier 'timerDate'
org.camunda.bpm.engine.ProcessEngineException: Unknown property used in expression: ${timerDate}. Cause: Cannot resolve identifier 'timerDate'
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.jobexecutor.TimerDeclarationImpl.initializeConfiguration(TimerDeclarationImpl.java:114)
Did you configured anything like JacksonDateFormatter or Date serialization or using Spin dependencies to handle date values?
You should use the correct Spring Boot version. For Camunda 7.9 + Camunda Spring Boot Starter 3.0.0, it’s 2.0.2.RELEASE. You can see the compatibility matrix here.
Does the problem persist after updating to the correct Spring Boot version?