Summary
Get a brief about Task(s) for currently running Jobs
Description
Get brief information about task(s) from the tasks collection in mongoDB. This will return only tasks that are attached to a currently running Job
Route
POST /workflow_engine/queryTasksBrief
Roles
admin
apiread
Parameters
Details Example Schema
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.
Copied to Clipboard
{
"query": {
"someFieldName": "Some Value to query the against the someFieldName property"
}
}
Return
Details Example Schema
Name
Type
Description
task_details_array
array
Jobs' Tasks matching the query.
Copied to Clipboard
[
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "12ab",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c"
],
"name": true,
"description": "Duis consequat elit proident ex"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "laborum ipsum veniam"
},
{
"type": "encryption",
"pointer": "nisi non sit fugiat pariatur"
},
{
"type": "encryption",
"pointer": "nulla proident labore"
},
{
"type": "encryption",
"pointer": "exercitation reprehenderit id dolor"
}
]
},
"metrics": {
"retrying": false
},
"name": -68731459.3477641,
"summary": "laborum officia cupidatat consequat",
"displayName": true,
"type": "dolore fugiat Lorem dolor",
"x": true,
"y": -17576524.544823527
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad"
],
"name": true,
"description": true
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "dolore eu"
},
{
"type": "encryption",
"pointer": "dolore elit sint labore ad"
},
{
"type": "encryption",
"pointer": "laboris non ut"
}
]
},
"metrics": {
"retrying": false
},
"name": -26740430,
"summary": true,
"displayName": -95257042.6652144,
"type": "id irure",
"x": "qui ex aliqua pariatur",
"y": true
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "cd34",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad"
],
"name": "magna in",
"description": "in dolor esse culpa"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "dolore sit sint laborum"
},
{
"type": "encryption",
"pointer": "sint dolor"
}
]
},
"metrics": {
"retrying": true
},
"name": -57843768.85935751,
"summary": -42000981.17356079,
"displayName": 71435649.3232252,
"type": true,
"x": 2209456.472264558,
"y": 45447672
}
]
Copied to Clipboard
{
"title": "task_details_array",
"type": "array",
"items": {
"$ref": "taskDocument"
}
}