ACT_RU_EXECUTION create multiple rows after the flow starts
I had a workflow with activiti: 5.18.0 which when started, creates a single row in ACT_RU_EXECUTION.
I decided to create a new flow and migrate existing instances to the new flow. For which I tried with activiti version 6x, 5.22.0 and even 5.18.0. New flow creates multiple row (2 rows) in ACT_RU_EXECUTION table for every new instance.
Now if I work on migrated flow it throws an exception:
(Note: when tried with 6x, i also used v5 compatibility jars).
The exception comes because old execution have only single row per instance. while all the new flow have 2 rows (could be more):