Can I use two datasource for Activiti in a Spring Boot app?

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

Can I use two datasource for Activiti in a Spring Boot app?

Now I have two database called db1 and db2,which both have the save process flow diagram.I want to execute the activiti process according according the parameter. For example,if I pass the para which value is 1,I want to execute the activiti process using db1.if I pass the para which value is 2,I want to execute the activiti process using db2.Can I use two datasource for Activiti in a Spring Boot app?