Skip to main content
Version: Next

Query process definitions

POST 

/process-definitions/search

Search for process definitions based on given criteria.

Request

Body

    sort object[]

    Sort field criteria.

  • Array [
  • field stringrequired

    The field to sort by.

    order SortOrderEnum

    Possible values: [ASC, DESC]

    Default value: ASC

    The order in which to sort the related field.

  • ]
  • 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.

    filter object

    Process definition search filter.

    processDefinitionKey int64

    The key for this process definition.

    name string

    Name of this process definition.

    resourceName string

    Resource name of this process definition.

    version int32

    Version of this process definition.

    versionTag string

    Version tag of this process definition.

    processDefinitionId string

    Process definition ID of this process definition.

    tenantId string

    Tenant ID of this process definition.

Responses

The process definition search result.

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 process definitions.

  • Array [
  • processDefinitionKey int64

    The key for this process definition.

    name string

    Name of this process definition.

    resourceName string

    Resource name for this process definition.

    version int32

    Version of this process definition.

    versionTag string

    Version tag of this process definition.

    processDefinitionId string

    Process definition ID of this process definition.

    tenantId string

    Tenant ID of this process definition.

  • ]
Loading...