Path: / API / runtimeAPI / setActivityInstanceVariable / {activityUUID}

Searches for variable with the given activity UUID and variable Id.
If the activity variable is found, the given value is set.
For XML types, see #setVariable(ActivityInstanceUUID, String, Object).

Path parameters:
activityUUID - the activity UUID.

Method Summary
ResourceDescription
POST /API/runtimeAPI/setActivityInstanceVariable/{activityUUID}Searches for variable with the given activity UUID and variable Id.

Method Detail
HTTP Example:
POST /API/runtimeAPI/setActivityInstanceVariable/{activityUUID}

variableValue=&variableId=&options=
API Example:

AbstractRemoteRuntimeAPI.setActivityInstanceVariable({'activityUUID': /* activityUUID the activity 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 the given activity UUID and variable Id.
If the activity variable is found, the given value is set.
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