app-workflow_engine

On this page:

queryTasks

Summary

Get Jobs' Tasks

Description

Get Jobs' Tasks matching the query and return the data optionally modified by the filter.

Route

POST /workflow_engine/queryTasks

Roles

admin apiread

Parameters

DetailsExampleSchema
Name Type Required Description
query object yes An object of property names and values to use in the query against the tasks collection. The property name must exist in the tasks collection. There must be at least 1 field you query upon.
filter object yes Filter specifying which fields are returned. The structure of each property must conform to 'fieldName': 1. Eg. name:1 will return the name field
options object yes Skip and limit

Return

DetailsExampleSchema
Name Type Description
task_details_array array All Jobs' Tasks matching the query.