As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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).
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 Databasedb=mysqljdbc.driver=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql://localhost:3306/activiti?autoReconnect=true&useSSL=falsejdbc.username=*****jdbc.password=*****
Please mark useful, if it is.
Thanks
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.
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.
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