Getting HelpIf you are on a more recent Activiti version or if you have any trouble migrating, ask for assistance in the Forum or turn to our Consulting services. We are happy to help you!
- Maven Dependencies, e.g.,
activiti.jarchanged tocamunda-engine.jar. - Package Names changed from
org.activititoorg.camunda.bpmfor all modules (including engine, CDI and spring). - The configuration file changed from
activiti.cfg.xmltocamunda.cfg.xml. - Several (internal) classes are renamed - see the lists below.
- Database schema and table names. Note that we based our fork on Activiti 5.11 and the tables existent in that version.
- The
activiti:Custom Extensions are kept. A ASEE Flow namespace will be introduced soon but backwards compatibility will be ensured.
Exchange Library
Exchange the existing library (here shown as Maven dependency)Adjust Package Names
Just do an Organize Imports in your IDE, that should do the trick as the API class names have not changed. Your IDE should figure out the rest for you. For Eclipse this can be done by clicking on the project and hittingCtrl-Shift-O.
Which Activiti Class Names Have Changed?
| component | Activiti class name | ASEE Flow class name |
|---|---|---|
| engine | ActivitiException | ProcessEngineException |
| ActivitiClassLoadingException | ClassLoadingException | |
| ActivitiOptimisticLockingException | OptimisticLockingException | |
| ActivitiTaskAlreadyClaimedException | TaskAlreadyClaimedException | |
| ActivitiWrongDbException | WrongDbException | |
| ActivitRule | ProcessEngineRule | |
| ActivitiTestCase | ProcessEngineTestCase | |
| PluggableActivitiTestCase | PluggableProcessEngineTestCase | |
| AbstractActivitiTestCase | AbstractProcessEngineTestCase | |
| ResourceActivitiTestCase | ResourceProcessEngineTestCase | |
| spring | ActivitiComponent | ProcessEngineComponent |
| SpringActivitiTestCase | SpringProcessEngineTestCase | |
| cdi | ActivitiCdiException | ProcessEngineCdiException |
| ActivitiExtension | ProcessEngineExtension | |
| CdiActivitiTestCase | CdiProcessEngineTestCase |