Skip to main content
Version: Next

Migrate process instance

POST 

/process-instances/:processInstanceKey/migration

Migrates a process instance to a new process definition. This request can contain multiple mapping instructions to define mapping between the active process instance's elements and target process definition elements.

Use this to upgrade a process instance to a new version of a process or to a different process definition, e.g. to keep your running instances up-to-date with the latest process improvements.

Request

Path Parameters

    processInstanceKey int64required

    The key of the process instance that should be migrated.

Body

required
    targetProcessDefinitionKey int64required

    The key of process definition to migrate the process instance to.

    mappingInstructions object[]required
  • Array [
  • sourceElementId stringrequired

    The element ID to migrate from.

    targetElementId stringrequired

    The element ID to migrate into.

  • ]
  • operationReference int64

    Possible values: >= 1

    A reference key chosen by the user that will be part of all records resulting from this operation. Must be > 0 if provided.

Responses

The process instance is migrated.

Loading...