Skip to main content

Update multiple/single (non)binary variables on a process instance asynchronously

Swagger UIyaml
put/process-api/runtime/process-instances/{processInstanceId}/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 process-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 local variables can be set in a process instance. NB: Swagger V2 specification does not support this use case that is why this endpoint might be buggy/incomplete if used with other tools.

Path parameters

processInstanceIdstring

Request body multipart/form-data

filefile
namestring
typestring

Request body application/json · ProcessInstanceVariableCollectionResource

Create a variable on a process instance

ProcessInstanceVariableCollectionResource

Responses

Indicates the job to create or update the variables was created.

requiredGrey names have no description in the spec