# Uses of Interface
org.flowable.cmmn.api.runtime.ChangePlanItemStateBuilder

Packages that use ChangePlanItemStateBuilder
Package
Description
org.flowable.cmmn.api
org.flowable.cmmn.api.runtime

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

  Methods in org.flowable.cmmn.api that return ChangePlanItemStateBuilder
  Modifier and Type
  Method
  Description
  `ChangePlanItemStateBuilder`
  CmmnRuntimeService.`createChangePlanItemStateBuilder()`
  Create a `ChangePlanItemStateBuilder`, that allows to set various options for changing the state of a case instance.

- ## Uses of ChangePlanItemStateBuilder in org.flowable.cmmn.api.runtime

  Methods in org.flowable.cmmn.api.runtime that return ChangePlanItemStateBuilder
  Modifier and Type
  Method
  Description
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`activatePlanItemDefinition(ActivatePlanItemDefinitionMapping planItemDefinitionMapping)`
  Activate a plan item by definition mapping.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`activatePlanItemDefinitionId(String planItemDefinitionId)`
  Activate a plan item by definition id.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`activatePlanItemDefinitionIds(List<String> planItemDefinitionIds)`
  Activate multiple plan items by definition id.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`activatePlanItemDefinitions(List<ActivatePlanItemDefinitionMapping> planItemDefinitionMappings)`
  Activate multiple plan items by definition mapping.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`addWaitingForRepetitionPlanItemDefinition(WaitingForRepetitionPlanItemDefinitionMapping planItemDefinitionMapping)`
  Add waiting for repetition to a plan item by definition mapping.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`addWaitingForRepetitionPlanItemDefinitionId(String planItemDefinitionId)`
  Add waiting for repetition to a plan item by definition id.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`addWaitingForRepetitionPlanItemDefinitionIds(List<String> planItemDefinitionIds)`
  Add multiple waiting for repetitions to a plan item by definition id.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`caseInstanceId(String caseInstanceId)`
  Set the id of the case instance
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`caseVariable(String caseVariableName, Object caseVariableValue)`
  Set the case variable that should be set as part of the change plan item state action.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`caseVariables(Map<String,Object> caseVariables)`
  Set the case variable that should be set as part of the change plan item state action.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`changePlanItemDefinitionWithNewTargetIds(String existingPlanItemDefinitionId, String newPlanItemId, String newPlanItemDefinitionId)`
  Add plan item id mapping with definition id.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`changePlanItemId(String existingPlanItemId, String newPlanItemId)`
  Add plan item id mapping.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`changePlanItemIds(Map<String,String> changePlanItemIdMap)`
  Add plan item id mapping.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`changePlanItemIdsWithDefinitionId(Map<String,String> changePlanItemIdWithDefinitionIdMap)`
  Add plan item id mapping with definition id.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`changePlanItemIdWithDefinitionId(String existingPlanItemDefinitionId, String newPlanItemDefinitionId)`
  Add plan item id mapping with definition id.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`changeToAvailableStateByPlanItemDefinition(MoveToAvailablePlanItemDefinitionMapping planItemDefinitionMapping)`
  Set a plan item to available state by definition mapping.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`changeToAvailableStateByPlanItemDefinitionId(String planItemDefinitionId)`
  Set a plan item to available state by definition id.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`changeToAvailableStateByPlanItemDefinitionIds(List<String> planItemDefinitionIds)`
  Set multiple plan items to available state by definition id.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`childInstanceTaskVariable(String planItemDefinitionId, String name, Object value)`
  Set the case variable that should be set as part of the change process or case task state action.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`childInstanceTaskVariables(String planItemDefinitionId, Map<String,Object> variables)`
  Set the case variable that should be set as part of the change process or case task state action.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`removeWaitingForRepetitionPlanItemDefinition(RemoveWaitingForRepetitionPlanItemDefinitionMapping planItemDefinitionId)`
  Remove waiting for repetition from a plan item by definition.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`removeWaitingForRepetitionPlanItemDefinitionId(String planItemDefinitionId)`
  Remove waiting for repetition from a plan item by definition id.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`removeWaitingForRepetitionPlanItemDefinitionIds(List<String> planItemDefinitionIds)`
  Remove multiple waiting for repetitions from a plan item by definition id.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`terminatePlanItemDefinition(TerminatePlanItemDefinitionMapping planItemDefinition)`
  Terminate a plan item by definition mapping without terminating another plan item instance.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`terminatePlanItemDefinitionId(String planItemDefinitionId)`
  Terminate a plan item by definition id without terminating another plan item instance.
  `ChangePlanItemStateBuilder`
  ChangePlanItemStateBuilder.`terminatePlanItemDefinitionIds(List<String> planItemDefinitionIds)`
  Terminate multiple plan items by definition id without terminating another plan item instance.