Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 23 additions & 19 deletions docs/documentation/update/camunda-to-operaton.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,48 @@ sidebar_position: 10

# Migration Guide from Camunda 7 CE to Operaton

Operaton is a fork of the Camunda 7 platform. It is API-compatible and
schema-compatible with **Camunda 7.24**: the database schema and the REST API have
been adopted from Camunda 7.24 and are kept in sync. As a result, migrating an
existing Camunda 7 CE application to Operaton requires no data conversion — you
update your code dependencies and run Operaton against your existing database.
Operaton is a fork of the Camunda 7 platform and adopts the database schema and
REST API from **Camunda 7.24**. Migrating an existing Camunda 7 CE application to
Operaton requires no data conversion. You update your code dependencies and
prepare your existing database for the target Operaton version before starting
the runtime.

A migration consists of two independent parts:

1. **[Runtime data](#runtime-data)** — your engine database. No schema migration
is needed; you point Operaton at the database you already have.
1. **[Runtime data](#runtime-data)** — reuse your engine database and apply any
schema updates required by the target Operaton version.
2. **[Application code](#application-code)** — your Java sources and build files.
An [OpenRewrite](https://docs.openrewrite.org/) recipe automates this.

## Prerequisites

- **Upgrade your existing application to Camunda 7.24 first**, then migrate to
Operaton. Operaton tracks Camunda 7.24, so this keeps the schema and API at the
expected level and makes the switch a one-step change. Follow the
Operaton. This provides a common starting point for the schema and API before
applying any Operaton-specific updates. Follow the
[Camunda 7 update guide](https://docs.camunda.org/manual/7.24/update/) to reach
7.24.
- **Java 17 or later.** Operaton requires Java 17 as a minimum and is tested on
Java 17, 21, and 25.

## Runtime data

Because the Operaton schema is identical to the Camunda 7.24 schema, there is
**no database migration to perform**:
Your existing engine data can be reused without data conversion. The required
schema version depends on the target Operaton release:

- Database tables keep the `ACT_` prefix — no tables are renamed.
- Once your application runs on Camunda 7.24, its database is already at the
schema level Operaton expects.
- Operaton 2.2 and later use schema version 7.25. It has the same tables,
columns and indexes as 7.24. Run the `<database>_engine_7.24_to_7.25.sql`
upgrade script so that `ACT_GE_SCHEMA_LOG` records the matching version. See
[Database schema](../installation/database-schema.md).
- Operaton 1.0, 1.1, 2.0, and 2.1 use schema version 7.24. No schema upgrade is
needed when switching from Camunda 7.24 to these releases.
- Operaton 2.2 uses schema version 7.25. It has the same tables, columns and
indexes as 7.24. Run the `<database>_engine_7.24_to_7.25.sql` upgrade script or
apply the Liquibase changelog so that `ACT_GE_SCHEMA_LOG` records the matching
version. Follow the [schema update procedure](../installation/database-schema.md#update).
- Already-deployed BPMN, DMN, and CMMN models continue to work. The engine
accepts both the `operaton:` and the legacy `camunda:` extension namespaces, so
process definitions deployed under Camunda remain valid.

Check the [schema version mapping](../user-guide/process-engine/database/database-schema/index.md#schema-version-mapping)
for the Operaton release you are migrating to.

:::warning[Back up your database first]
Always create a backup of your database before switching the runtime, so you can
roll back if needed.
Expand All @@ -54,8 +57,9 @@ roll back if needed.
To switch the runtime:

1. Stop the Camunda application.
2. Start Operaton configured against the **same datasource**. No schema upgrade
scripts need to be run as part of the Camunda-to-Operaton switch.
2. Apply any schema updates required by the target Operaton release, as described
above.
3. Start Operaton configured against the **same datasource**.

## Application code

Expand Down