Skip to main content

Update a multiple/single (non)binary variable on a case instance asynchronously

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

This endpoint can be used in 2 ways: By passing a JSON Body (RestVariable or an array of RestVariable) or by passing a multipart/form-data Object. Nonexistent variables are created on the case-instance and existing ones are overridden without any error. Any number of variables can be passed into the request body array. 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

Request body multipart/form-data

filefile
namestring
typestring

Request body application/json · CaseInstanceVariableCollectionResource

Create a variable on a case instance

CaseInstanceVariableCollectionResource

Responses

Indicates the job to update the variables has been created.

requiredGrey names have no description in the spec