Skip to main content
Version: Next

Query user task variables

POST 

/user-tasks/:userTaskKey/variables/search

Search for user task variables based on given criteria.

Request

Path Parameters

    userTaskKey int64required

    The key of the user task.

Body

    page object

    Pagination criteria.

    from int32

    The index of items to start searching from.

    limit int32

    The maximum number of items to return in one request.

    searchAfter object[]

    Items to search after. Correlates to the lastSortValues property of a previous search response.

    searchBefore object[]

    Items to search before. Correlates to the firstSortValues property of a previous search response.

    sort object[]

    Sort field criteria.

  • Array [
  • field stringrequired

    Possible values: [value, name, tenantId, variableKey, scopeKey, processInstanceKey]

    The field to sort by.

    order SortOrderEnum

    Possible values: [ASC, DESC]

    Default value: ASC

    The order in which to sort the related field.

  • ]
  • filter object

    The user task variable search filters.

    name object

    Name of the variable.

    oneOf

    string

Responses

The user task variables search response.

Schema
    page object

    Pagination information about the search results.

    totalItems int64

    Total items matching the criteria.

    firstSortValues object[]

    The sort values of the first item in the result set. Use this in the searchBefore field of an ensuing request.

    lastSortValues object[]

    The sort values of the last item in the result set. Use this in the searchAfter field of an ensuing request.

    items object[]

    The matching variables.

  • Array [
  • variableKey string

    The key for this variable.

    scopeKey string

    The key of the scope of this variable.

    processInstanceKey string

    The key of the process instance of this variable.

  • ]
Loading...