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": "4321abcdef694aa79dae47ad",
"task": "12ab",
"name": true,
"description": "sint eiusmod exercitation id",
"index": true
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": -88926987.54530378,
"summary": 92541586.70605671,
"displayName": 1851256.03361395,
"type": 61158967.12576574,
"x": 43683244,
"y": 53820534,
"status": "eu"
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "cd34",
"name": true,
"description": true,
"index": -18246898
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": 1426558.5009237528,
"summary": -41813234,
"displayName": -41099740.888388194,
"type": 83039785.55078596,
"x": false,
"y": "aliqua",
"status": 78061265.14220804
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "4321abcdef694aa79dae47ad",
"task": "12ab",
"name": "ex aliquip consequat do",
"description": -37501715.42070797,
"index": "incididunt quis"
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": ""
},
"name": -76972173,
"summary": 40220004.97708315,
"displayName": 31328703.481569245,
"type": true,
"x": false,
"y": -9300902,
"status": 28503483.82932006
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"$ref": "taskDocument"
}
}