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": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad"
],
"name": 1639896,
"description": 24450288
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "in proident quis culpa labore"
}
]
},
"metrics": {
"retrying": false
},
"name": 67330233,
"summary": "laboris",
"displayName": -45649869.828007005,
"type": -43194128,
"x": -71891615,
"y": "sed consectetur aliquip eu qui"
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad"
],
"name": "enim et",
"description": 69464410.50530705
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "laboris eiusmod magna velit"
}
]
},
"metrics": {
"retrying": true
},
"name": "fugiat pariatur mollit",
"summary": -13989274.713908672,
"displayName": "veniam ea in",
"type": "anim in reprehenderit Lorem veniam",
"x": false,
"y": "nulla officia reprehenderit"
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"ancestors": [
"5cb7b531d06cceb89fd21b1c"
],
"name": "commodo magna",
"description": 17056806
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "in cupidatat"
},
{
"type": "encryption",
"pointer": "ad et ut officia incididunt"
},
{
"type": "encryption",
"pointer": "dolor ea"
}
]
},
"metrics": {
"retrying": false
},
"name": false,
"summary": true,
"displayName": "labore occaecat Duis",
"type": 10636213,
"x": "Excepteur dolore mollit magna aliqua",
"y": true
}
]
Copied to Clipboard
{
"title": "task_details_array",
"type": "array",
"items": {
"$ref": "taskDocument"
}
}