# Uses of Interface
org.flowable.cmmn.api.migration.CaseInstanceMigrationBuilder

Packages that use CaseInstanceMigrationBuilder
Package
Description
org.flowable.cmmn.api
org.flowable.cmmn.api.migration

- ## Uses of CaseInstanceMigrationBuilder in org.flowable.cmmn.api

  Methods in org.flowable.cmmn.api that return CaseInstanceMigrationBuilder
  Modifier and Type
  Method
  Description
  `CaseInstanceMigrationBuilder`
  CmmnMigrationService.`createCaseInstanceMigrationBuilder()`
  `CaseInstanceMigrationBuilder`
  CmmnMigrationService.`createCaseInstanceMigrationBuilderFromCaseInstanceMigrationDocument(CaseInstanceMigrationDocument document)`

- ## Uses of CaseInstanceMigrationBuilder in org.flowable.cmmn.api.migration

  Methods in org.flowable.cmmn.api.migration that return CaseInstanceMigrationBuilder
  Modifier and Type
  Method
  Description
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`addActivatePlanItemDefinitionMapping(ActivatePlanItemDefinitionMapping mapping)`
  Adds an activate plan item definition mapping to the case instance migration plan.
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`addChangePlanItemDefinitionWithNewTargetIdsMapping(ChangePlanItemDefinitionWithNewTargetIdsMapping mapping)`
  Adds a mapping for a plan item definition id to a new plan item id and definition id to change the plan item id.
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`addChangePlanItemIdMapping(ChangePlanItemIdMapping mapping)`
  Adds a mapping for a plan item id to new plan item id.
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`addChangePlanItemIdWithDefinitionIdMapping(ChangePlanItemIdWithDefinitionIdMapping mapping)`
  Adds a mapping for a plan item definition id to a new plan item definition id to change the plan item id.
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`addMoveToAvailablePlanItemDefinitionMapping(MoveToAvailablePlanItemDefinitionMapping mapping)`
  Adds a move to available plan item definition mapping to the case instance migration plan.
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`addTerminatePlanItemDefinitionMapping(TerminatePlanItemDefinitionMapping mapping)`
  Adds a terminate plan item definition mapping to the case instance migration plan.
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`addWaitingForRepetitionPlanItemDefinitionMapping(WaitingForRepetitionPlanItemDefinitionMapping mapping)`
  Adds a waiting for repetition plan item definition mapping to the case instance migration plan.
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`fromCaseInstanceMigrationDocument(CaseInstanceMigrationDocument caseInstanceMigrationDocument)`
  Creates a CaseInstanceMigrationBuilder using the values of a CaseInstanceMigrationDocument
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`migrateToCaseDefinition(String caseDefinitionId)`
  Specifies the case definition to migrate to, using the case definition id
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`migrateToCaseDefinition(String caseDefinitionKey, int caseDefinitionVersion)`
  Specifies the case definition to migrate to, identified by its key and version
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`migrateToCaseDefinition(String caseDefinitionKey, int caseDefinitionVersion, String caseDefinitionTenantId)`
  Specifies the case definition to migrate to, identified by its key and version and tenantId
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`removeWaitingForRepetitionPlanItemDefinitionMapping(RemoveWaitingForRepetitionPlanItemDefinitionMapping mapping)`
  Removes a waiting for repetition plan item definition mapping to the case instance migration plan.
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`withCaseInstanceVariable(String variableName, Object variableValue)`
  Specifies a case instance variable that will also be available during the case migration
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`withCaseInstanceVariables(Map<String,Object> variables)`
  Specified case instances variables that will also be available during case migration
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`withMigrateToCaseDefinitionTenantId(String caseDefinitionTenantId)`
  Specifies the tenantId of the case definition to migrate to
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`withPostUpgradeExpression(String postUpgradeExpression)`
  Specifies an expression which is executed after the migration is finished.
  `CaseInstanceMigrationBuilder`
  CaseInstanceMigrationBuilder.`withPreUpgradeExpression(String preUpgradeExpression)`
  Specifies an expression which is executed before the migration starts.