Can we have different databases for different processes?

cancel
Showing results for 
Search instead for 
Did you mean: 
activiti_
Member II

Can we have different databases for different processes?

I have two processes, that is, I have 2 bpmn diagrams(Ex: Leave.bpmn, Hiring.bpmn), I want each process to have its own database. 

3 Replies
abbask01
Senior Member

Re: Can we have different databases for different processes?

activiti_
Member II

Re: Can we have different databases for different processes?

thanks for the link. Anyway this is my query if you can help ,please try to do so

I am using spring boot and in my application.properties, I have this:

spring.datasource.url=jdbc:mysql://localhost:3306/mysqldatabase?useSSL=false

Now I imagine we have to replace this line with more code and including process names.

Thanks 

abbask01
Senior Member

Re: Can we have different databases for different processes?

well, just add the activiti-engine as your dependency (remove activiti-spring-boot-starter). create your engine by following this. you can also use annotation driven prog.

Regards,
Abbas