All resources
Operate4 min read

Upgrading running processes: migration and batch operations

Move live instances onto a new version of a process, and cancel, retry or update many instances in one go.

In short

  • 01

    New instances use the new version; old ones stay put until you migrate them.

  • 02

    You map each old step to its new step.

  • 03

    Batches report a result per instance and never fail as a whole.

Deploying a new version of a process does not touch instances that are already running. They finish on the version they started with. Migration is how you move them across when you need to.

Migrating instances

1
Deploy the new version
It must have the same process key as the old one.
2
Map the steps
For each step an instance might be waiting at, say which step it becomes in the new version.
3
Pick the instances
Choose which running instances to move.
4
Run and review
Each instance comes back as migrated, or not migrated with the reason.

Which instances can move

Instance stateCan migrate?
Waiting at a mapped step, on a single pathYes
Waiting at a step you did not mapNo — add it to the mapping
In the middle of parallel pathsNo — wait until the paths join
Finished, failed or not waitingNo
An instance that cannot move is reported with its reason and left untouched. The others in the same run still migrate.

Batch operations

Migration is one of five operations you can run across many targets at once.

Batch typeApplies toDoes
CancelProcess instancesTerminates them
RetryJobsMakes failed jobs available again
Resolve incidentIncidentsRetries the failed step of each
MigrateProcess instancesMoves them to another version
Set variablesProcess instancesWrites the same variables to each

A batch runs in the background. Its progress shows how many items are done and how many failed, and each failed item carries its own reason. A batch that is interrupted by a restart picks up where it left off.

Pending
Running
Completed
or Completed with errors

See it on your own process

Book a walkthrough with the Orkovia team.

Request a Demo