Summary
Get Iterations of a Job's Task
Description
Get iterations of a Job's Task by Job ID and Task name.
Route
GET /workflow_engine/getTaskIterations/:job_id/:task
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
job_id |
string |
yes |
Job ID to get iterations of its Task. |
task |
string |
yes |
Four digit hexadecimal task id to get task iterations from |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
task_iterations |
array |
Iterations of a Job's Task. |
Copied to Clipboard
[
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"ancestors": [
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad"
],
"name": "proident consectetur consequat nulla fugiat",
"description": 73576710.12864429
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "aliquip sunt"
},
{
"type": "encryption",
"pointer": "dolor qui reprehenderit officia"
}
]
},
"metrics": {
"retrying": true
},
"name": -6283489.310614064,
"summary": 23940867.108099654,
"displayName": "irure ullamco laboris",
"type": false,
"x": -17586434.62488374,
"y": true
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c"
],
"name": 83049203,
"description": 25986935
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "fugiat magna cupidatat tempor"
}
]
},
"metrics": {
"retrying": true
},
"name": true,
"summary": 20581910.414597094,
"displayName": 91615954,
"type": -90843787.10629073,
"x": 91760146.77898848,
"y": "ex sint"
},
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "cd34",
"ancestors": [
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad"
],
"name": "deserunt pariatur",
"description": true
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "veniam anim qui sit consequat"
},
{
"type": "encryption",
"pointer": "quis"
},
{
"type": "encryption",
"pointer": "esse nulla quis sed"
}
]
},
"metrics": {
"retrying": true
},
"name": -17189606.520137966,
"summary": false,
"displayName": 25686315,
"type": true,
"x": 34775552,
"y": 95909411.25963804
}
]
Copied to Clipboard
{
"title": "task_iterations",
"type": "array",
"items": {
"$ref": "taskDocument"
}
}