Path: / API / runtimeAPI / setProcessInstanceVariable / {instanceUUID}

Searches for variable with id variableId within the given process instance with ProcessInstanceUUID instanceUUID. For XML types, see #setVariable(ActivityInstanceUUID, String, Object);

Path parameters:
instanceUUID - the instance UUID.

Method Summary
ResourceDescription
POST /API/runtimeAPI/setProcessInstanceVariable/{instanceUUID}Searches for variable with id variableId within the given process instance with ProcessInstanceUUID instanceUUID.

Method Detail
HTTP Example:
POST /API/runtimeAPI/setProcessInstanceVariable/{instanceUUID}

variableValue=&variableId=&options=
API Example:

AbstractRemoteRuntimeAPI.setProcessInstanceVariable({'instanceUUID': /* instanceUUID the instance UUID. */,
  'variableValue': /* variableValue the variable value (can be: a plain String, a Boolean, a Date, a Long or a Double). */,
  'variableId': /* variableId the variable id. */,
  'options': /* options the options map (domain, queyList, user) */});

Searches for variable with id variableId within the given process instance with ProcessInstanceUUID instanceUUID. For XML types, see {@link #setVariable(ActivityInstanceUUID, String, Object)};

Output:
void
Form parameters:
variableValue - the variable value (can be: a plain {@link String}, a {@link Boolean}, a {@link Date}, a {@link Long} or a {@link Double}).
variableId - the variable id.
options - the options map (domain, queyList, user)
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
application/xml