Migrating inflight data

Use Migrate inflight data if you have installed a new snapshot with running instances and you want to manipulate the data that is used by the running instances. This method enables you to manage potential orphaned tokens. It allows you to revert to a previous snapshot while you make changes to the new one.

Before you begin

The migration process is explained in Migrating instances. The Install Snapshot - Manage Instances window provides the option to leave the original data in place on running instances when you install a new snapshot. If you selected that option, you can use Migrate inflight data to make adjustments after installing a revised snapshot.

About this task

After you install a new snapshot that replaces a snapshot with instances that are still running, you might want to migrate some data from the currently running instances to the new snapshot. In that case, use the Migrate Inflight Data window to migrate currently running instances to the new version of the selected snapshot. Wherever the running instances are in the flow of the process or service, the new version is implemented for the next step.
Note: Only the business process definitions of the process application are migrated. If the process application contains BPEL processes, follow the instructions for migrating BPEL processes.

Use the Process Admin Console to migrate inflight data to a snapshot. To migrate inflight data, perform the following steps.

Procedure

  1. From the Process Admin Console, select Installed Apps.
  2. From the list of snapshots, select the one to which you are migrating data.
  3. Click Migrate Inflight Data.
  4. Select the snapshot from which you want to migrate data.
  5. Make whatever adjustments you want to make before completing the migration. For example, you can change the value of an environmental variable. The migration program uses the latest value rather than the original value. The new value is applied to any new instances that are launched, but it is not applied to running instances. You can lessen the risk that an activity in a running instance will not complete by carefully managing tokens that are associated with actions that have been deleted. If you are using a policy file to manage potential orphaned tokens, provide the path to that policy file.
  6. Click Migrate.