08-17-2017 05:11 AM
I am using activiti workflow embedded inside spring boot application.
I want to know whether use of activiti tables is mandatory or not. (I am more concerned about use of Task and User table).
08-17-2017 06:05 AM
I think NO.. It is not mandatory to use activiti DB. You can configure own like
# In Memory Database
#db=h2
#jdbc.driver=org.h2.Driver
#jdbc.url=jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000
#jdbc.username=sa
#jdbc.password=
# Persistent Database
db=mysql
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/activiti?autoReconnect=true&useSSL=false
jdbc.username=*****
jdbc.password=*****
Please mark useful, if it is.
Thanks
08-18-2017 06:50 AM
What i mean to ask is, activiti has 25 different tables, So is it really mandatory to use activiti Task & activiti user table ?when we embed activiti workflow inside spring we app.
08-18-2017 07:27 AM
If you will not use Activiti user table than in workflow (which run on the activiti engine) transaction, you might face problem to show assign task to which user.
Activiti Task table has data when we complete workflow so it is easy to use Activiti tables else you have to handle complete scheme.
08-21-2017 04:14 AM
If it's the user table that you're interested in is this because you're looking to use an external provider for identity? If so this is certainly possible - see for example java - Configure Activiti to reuse the existing user/group data in Spring Boot - Stack Overflow
Explore our Alfresco products with the links below. Use labels to filter content by product module.