Change the state of a case instance
Swagger UIyaml/cmmn-api/ cmmn-runtime/ case-instances/ {caseInstanceId}/ change-statePath parameters
Request body application/json · ChangePlanItemStateRequest
activatePlanItemDefinitionIdsstring[]plan item definition ids to be activated
moveToAvailablePlanItemDefinitionIdsstring[]plan item definition ids to be moved to available state
terminatePlanItemDefinitionIdsstring[]plan item definition ids to be terminated
addWaitingForRepetitionPlanItemDefinitionIdsstring[]add waiting for repetition to provided plan item definition ids
removeWaitingForRepetitionPlanItemDefinitionIdsstring[]remove waiting for repetition to provided plan item definition ids
changePlanItemIdsmap<string, string>map an existing plan item id to new plan item id, this should not be necessary in general, but could be needed when plan item ids change between case definition versions.
changePlanItemIdsWithDefinitionIdmap<string, string>map an existing plan item id to new plan item id with the plan item definition id, this should not be necessary in general, but could be needed when plan item ids change between case definition versions.
changePlanItemDefinitionsWithNewTargetIdsPlanItemDefinitionWithTargetIdsRequest[]map an existing plan item id to a new plan item id and plan item definition id, this should not be necessary in general, but could be needed when plan item ids change between case definition versions.
Responses
Indicates the case instance was found and change state activity was executed.
requiredGrey names have no description in the spec