Task Variable

Get Task Variable (Binary)

Retrieves a binary variable from the context of a given task. Applicable for byte array and file variables. The variable must be visible from the task. It is visible from the task if it is a local task variable or declared in a parent scope of the task. See documentation on visiblity of variables.

get/task/{id}/variables/{varName}/data

Request

  • Base URL: http://localhost:8080/engine-rest
  • URL: http://localhost:8080/engine-rest/task/{id}/variables/{varName}/data
  • Auth: HTTP basic

Path parameters

idstring required

The id of the task to retrieve the variable for.

varNamestring required

The name of the variable to retrieve.

Response

Request successful. For binary variables or files without any MIME type information, a byte stream is returned. File variables with MIME type information are returned as the saved type. Additionally, for file variables the Content-Disposition header will be set.

Changes

No recorded changes to this operation across all 1 revision of this API.