I’ve implemented an automated migration feature in crp-flowable-springboot-sample.
What it does:
- Migrates process instances from JPA variable storage to service-based storage
- Runs automatically on application startup
- Transforms variables (
contractId,amount→insuranceEventId) via Flowable’s ProcessMigrationService - Tracks version to run only once
Between versions: 0.3.0 → 0.3.1
Validation: Upgrade tests in crp-sample-upgrade-test via run_test-phase3.sh
Zero-downtime architectural evolution for production Flowable applications.