Skip to main content

Update a single variable on a case instance

Swagger UIyaml
put/cmmn-api/cmmn-runtime/case-instances/{caseInstanceId}/variables/{variableName}

This endpoint can be used in 2 ways: By passing a JSON Body (RestVariable) or by passing a multipart/form-data Object. Note that scope is ignored, only global variables can be set in a case instance. NB: Swagger V2 specification doesn't support this use case that is why this endpoint might be buggy/incomplete if used with other tools.

Path parameters

caseInstanceIdstring
variableNamestring

Request body multipart/form-data

filefile
namestring
typestring

Request body application/json · CaseInstanceVariableResource

Create a variable on a case instance

CaseInstanceVariableResource

Responses

successful operation · RestVariable

scopestring

requiredGrey names have no description in the spec