A couple on-line tutorials show that two schemas are created for activiti-admin and activiti-app separately, and the same database setup scripts "create.engine", "create.history", "create.identity" are run in both schemas. Activiti-admin uses liquibase to create additional tables like SERVRE_CONFIG etc, while activiti-app does not do it.
I am curious why it is necessary to create duplicate tables in two schemas. Can I use one schema for all the three war files instead? What's the catch?
I guess you mean guides such as Alfresco Activiti I suspect that you would get errors when both try to create some of the same tables and records as somebody reports that at the end of How to use REST API with activiti-app? It seems both apps use tables with the same names and columns so liquibase would not be happy about finding them already-present. It might well be possible to work around that but it could be awkward to do so. While activiti-app may not use liquibase, it might still error. If you really wanted to try it probably best approach would be to let activiti-app create its schema first through liquibase and then run scripts manually for the others. I would guess that the movitvation was probably so that each app could be run self-contained.
Thank you for your answer.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.