Can't create Java Delegates

Hi I have a problem in creating a javaDelegate
the problem from CUBA Studio , it didn’t add it to the class path and I am getting compilation error ,
I tried to add it manually in the build.gradle but it didn’t work too .

org.flowable.engine.delegate.JavaDelegate

image

image

the is the compiler error
/Users/userX/IdeaProjects/BPocDDemo/modules/global/src/com/company/bpocddemo/service/LogService.java:3: error: package org.flowable.engine.delegate does not exist
public interface LogService extends org.flowable.engine.delegate.JavaDelegate{
^

Hi,
Flowable engine is added as a dependency to the core module only. So your delegate must be located there.

1 Like

Thanks Max, it works now