Database migration from activiti to flowable


#1

Hi All

We have a lending application where we are using Activiti 5.21.0. We want to migrate the application to Flowable. Please let me know how to migrate the data so that all the cases which are still in process can be transferred to flowable.
Our concern is we want all the cases which have not yet completed the flow can be transferreed to flowable.

Please suggest.


#2

Hi,

We are currently doing the same thing.

You can get started with the migration guide: https://www.flowable.org/docs/userguide/migration.html

There is property flowable5CompatibilityEnabled that can be enabled.
This will make sure you can handle all your v5 processes.
We haven’t find out where we should configure this since Spring Boot Properties have been introduced.
Let us know if you know where we can configure this :wink:

Best of luck!

Cheers,
Spille


#3

Hi

The link shared is for migrating from Flowable V5 to Flowable V6. But I need to know how to migrate from database from Activiti 5.21.0 to Flowable.
Is there a way we can directly do that.


#4

Hey,

@ankit.singh have a look at Effortless migration from Activiti to Flowable as well. On the database level there is no difference between Flowable v5 and Activiti v5. In case you are migrating to Flowable v5 then you just need to change the poms. If you are migrating to v6 you can just follow the link @spille send.

@spille regarding the flowable5CompatibilityEnabled property. It is not exposed via Spring Boot properties. However, you can enable it by using an EngineConfigurationConfigurer

@Bean
public EngineConfigurationConfigurer<SpringProcessEngineConfiguration> enableFlowable5CompatibiityConfigurer() {
    return processEngineConfiguration -> processEngineConfiguration.setFlowable5CompatibilityEnabled(true);
}

Cheers,
Filip


Upgrade from v5 to v6 - compatibility tag
#5

Hi @filiphr
Just need one more information, suppose I am creating a new project with Flowable V5 having a similar diagram as existing activiti project then can we directly migrate the activiti tables to flowable V5 tables.


#6

Hey @ankit.singh,

If you are starting a new project with Flowable I would highly suggest you to start with V6. That being said, there is nothing that you need to do on DB level. The tables are exactly the same. We have not changed the table names in Flowable V5 nor in V6.

Cheers,
Filip


#7

Thanks man! :slight_smile: This solved our problem.

Cheers,
Spille