i’m facing error when start service task using delegate expression
The process could not be started.: Cannot instantiate process definition eclaim-registration:9:eff49b36-c4e2-11eb-8dbd-00059a3c7a00: Unknown property used in expression: ${claimRegisterDelegate}. Cause: Cannot resolve identifier ‘claimRegisterDelegate’
hi @Niall, i’m using java delegate with spring framework. Build war and copy it into webapps tomcat folder. I’m running camunda tomcat locally from my machine.
here I put my pom.xml pom.xml (5.6 KB) .
I’m using apache-tomcat-9.0.43 the latest that we can download from camunda website
@dimasrij Which database are you using? Are you using jndi datasource from tomcat server?
If you’re not using jndi datasource, then your pom.xml doesn’t have the database for runtime execution data persistence. Only H2 database was there and it’s in test scope. In that case you need to have db in compile scope. Java Delegate and your bpmn looks fine.
It’s highly recommended to have that annotation. But it will execute without any issues unless if the overridden method doesn’t override the function properly.