# Uses of Interface
org.flowable.engine.migration.ProcessInstanceMigrationDocument

Packages that use ProcessInstanceMigrationDocument
Package
Description
org.flowable.engine
Public API of the Flowable engine.
Typical usage of the API starts by the creation of a `ProcessEngineConfiguration` (typically based on a configuration file), from which a `ProcessEngine` can be obtained.
Through the services obtained from such a `ProcessEngine`, BPM and workflow operation can be executed:
`RepositoryService`: Manages `Deployment`s.
`RuntimeService`: For starting and searching `ProcessInstance`s.
`TaskService`: Exposes operations to manage human (standalone) tasks, such as claiming, completing and assigning tasks.
`IdentityService`: Used for managing users, groups and the relations between them.
`ManagementService`: Exposes engine administration and maintenance operations, which have no relation to the runtime exection of business processes.
`HistoryService`: Exposes information about ongoing and past process instances.
`FormService`: Access to form data and rendered forms for starting new process instances and completing tasks.
org.flowable.engine.migration

- ## Uses of ProcessInstanceMigrationDocument in org.flowable.engine

  Methods in org.flowable.engine with parameters of type ProcessInstanceMigrationDocument
  Modifier and Type
  Method
  Description
  `Batch`
  ProcessMigrationService.`batchMigrateProcessInstancesOfProcessDefinition(String processDefinitionKey, int processDefinitionVersion, String processDefinitionTenantId, ProcessInstanceMigrationDocument processInstanceMigrationDocument)`
  `Batch`
  ProcessMigrationService.`batchMigrateProcessInstancesOfProcessDefinition(String processDefinitionId, ProcessInstanceMigrationDocument processInstanceMigrationDocument)`
  `ProcessInstanceMigrationBuilder`
  ProcessMigrationService.`createProcessInstanceMigrationBuilderFromProcessInstanceMigrationDocument(ProcessInstanceMigrationDocument document)`
  `void`
  ProcessMigrationService.`migrateProcessInstance(String processInstanceId, ProcessInstanceMigrationDocument processInstanceMigrationDocument)`
  `void`
  ProcessMigrationService.`migrateProcessInstancesOfProcessDefinition(String processDefinitionKey, int processDefinitionVersion, String processDefinitionTenantId, ProcessInstanceMigrationDocument processInstanceMigrationDocument)`
  `void`
  ProcessMigrationService.`migrateProcessInstancesOfProcessDefinition(String processDefinitionId, ProcessInstanceMigrationDocument processInstanceMigrationDocument)`
  `ProcessInstanceMigrationValidationResult`
  ProcessMigrationService.`validateMigrationForProcessInstance(String processInstanceId, ProcessInstanceMigrationDocument processInstanceMigrationDocument)`
  `ProcessInstanceMigrationValidationResult`
  ProcessMigrationService.`validateMigrationForProcessInstancesOfProcessDefinition(String processDefinitionKey, int processDefinitionVersion, String processDefinitionTenantId, ProcessInstanceMigrationDocument processInstanceMigrationDocument)`
  `ProcessInstanceMigrationValidationResult`
  ProcessMigrationService.`validateMigrationForProcessInstancesOfProcessDefinition(String processDefinitionId, ProcessInstanceMigrationDocument processInstanceMigrationDocument)`

- ## Uses of ProcessInstanceMigrationDocument in org.flowable.engine.migration

  Methods in org.flowable.engine.migration that return ProcessInstanceMigrationDocument
  Modifier and Type
  Method
  Description
  `ProcessInstanceMigrationDocument`
  ProcessInstanceMigrationDocumentBuilder.`build()`
  `static ProcessInstanceMigrationDocument`
  ProcessInstanceMigrationDocumentConverter.`convertFromJson(String jsonProcessInstanceMigrationDocument)`
  `ProcessInstanceMigrationDocument`
  ProcessInstanceMigrationBuilder.`getProcessInstanceMigrationDocument()`
  Builds a ProcessInstanceMigrationDocument
  Methods in org.flowable.engine.migration with parameters of type ProcessInstanceMigrationDocument
  Modifier and Type
  Method
  Description
  `Batch`
  ProcessInstanceMigrationManager.`batchMigrateProcessInstancesOfProcessDefinition(String procDefKey, int procDefVer, String procDefTenantId, ProcessInstanceMigrationDocument document, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)`
  `Batch`
  ProcessInstanceMigrationManager.`batchMigrateProcessInstancesOfProcessDefinition(String processDefinitionId, ProcessInstanceMigrationDocument document, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)`
  `static com.fasterxml.jackson.databind.JsonNode`
  ProcessInstanceMigrationDocumentConverter.`convertToJson(ProcessInstanceMigrationDocument processInstanceMigrationDocument)`
  `protected static com.fasterxml.jackson.databind.JsonNode`
  ProcessInstanceMigrationDocumentConverter.`convertToJsonProcessInstanceVariables(ProcessInstanceMigrationDocument processInstanceMigrationDocument, com.fasterxml.jackson.databind.ObjectMapper objectMapper)`
  `static String`
  ProcessInstanceMigrationDocumentConverter.`convertToJsonString(ProcessInstanceMigrationDocument processInstanceMigrationDocument)`
  `ProcessInstanceMigrationBuilder`
  ProcessInstanceMigrationBuilder.`fromProcessInstanceMigrationDocument(ProcessInstanceMigrationDocument processInstanceMigrationDocument)`
  Creates a ProcessInstanceMigrationBuilder using the values of a ProcessInstanceMigrationDocument
  `void`
  ProcessInstanceMigrationManager.`migrateProcessInstance(String processInstanceId, ProcessInstanceMigrationDocument document, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)`
  `void`
  ProcessInstanceMigrationManager.`migrateProcessInstancesOfProcessDefinition(String procDefKey, int procDefVer, String procDefTenantId, ProcessInstanceMigrationDocument document, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)`
  `void`
  ProcessInstanceMigrationManager.`migrateProcessInstancesOfProcessDefinition(String processDefinitionId, ProcessInstanceMigrationDocument document, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)`
  `void`
  ProcessInstanceMigrationCallback.`processInstanceMigrated(ProcessInstance processInstance, ProcessDefinition procDefToMigrateTo, ProcessInstanceMigrationDocument document, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)`
  `ProcessInstanceMigrationValidationResult`
  ProcessInstanceMigrationManager.`validateMigrateProcessInstance(String processInstanceId, ProcessInstanceMigrationDocument processInstanceMigrationDocument, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)`
  `ProcessInstanceMigrationValidationResult`
  ProcessInstanceMigrationManager.`validateMigrateProcessInstancesOfProcessDefinition(String processDefinitionKey, int processDefinitionVersion, String processDefinitionTenant, ProcessInstanceMigrationDocument processInstanceMigrationDocument, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)`
  `ProcessInstanceMigrationValidationResult`
  ProcessInstanceMigrationManager.`validateMigrateProcessInstancesOfProcessDefinition(String processDefinitionId, ProcessInstanceMigrationDocument processInstanceMigrationDocument, org.flowable.common.engine.impl.interceptor.CommandContext commandContext)`