Many flowable engine using the same database

Hi, I’m new using flowable and I trying to do the following case:

I’m creating spring boot services using the starter “flowable-spring-boot-starter-process” and each spring boot application has your own bpmn process. The database (oracle) is the same for all services.
Everthing is fine when we don’t use TimerCatchEvent. But when we use it, the service A try to start the job from service B and service A doesn’t have the service B classes, and this ends up generating an error of “java.lang.ClassNotFoundException”

Looking for

ERROR 24055 --- [cTaskExecutor-1] ltAsyncRunnableExecutionExceptionHandler : Job 72521 failed

I found a topic:

Open Source

I create the class MyConfiguration.java on my project, but the @Process notation is not recognized.

So, there are any solution to flowable engines projects executing different bpmn process instances with different classes acessing the same database consume only their own timer jobs?

Did you try to create a custom task executor ? I think that in your case tphis is the way to go.

If your database is shared, all job executors will poll that same database. Meaning you need all custom classes on the classpath of both. If you don’t want that, you’d need to have a separate database for each application.

Thanks for the answer joram!

It’s a common case each application have your own databse, our it’s more common share the database and have duplicate custom classes?
Is there a better approach?
Sorry about the questions.

Maybe you can try Multitenancy, each application a tenant:

https://blog.flowable.org/2018/09/11/multitenancy-in-flowable/