Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?

What I have tried:

I have try to config it using dynamicDataSource,but still fail
Posted
Comments
wseng 20-Apr-19 9:51am    
yes, just set the configuration in application.properties

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900