Summary
Get Details of an Active Job
Description
Get an active job's details of its active and completed Tasks. Returns a subset of job data, omitting tasks' returned data and transition information but adding tasks' iteration information.
Route
GET /workflow_engine/job/:job_id/deep
Roles
admin
apiread
Parameters
Details Example Schema
Name
Type
Required
Description
job_id
string
yes
ID of job to get details.
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
Details Example Schema
Name
Type
Description
job_details
array
All active and completed tasks of the job.
Copied to Clipboard
[
{
"_id": "5cb7b531d06cceb89fd21b1c",
"name": "8917Test2",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"groups": [],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"status": "complete",
"metrics": {
"owner": "Pronghorn",
"start_time": 1555430149763,
"end_time": 1555430169683,
"run_time": 75069184,
"finish_state": "complete",
"server_id": "ac:de:48:00:11:22:3000",
"app": {
"id": "WorkFlowEngine",
"version": "3.2.1"
}
}
},
"workflow_end": {
"name": "workflow_end",
"groups": [],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"status": "complete",
"metrics": {
"owner": "Pronghorn",
"start_time": 1555430149763,
"end_time": 1555430169683,
"run_time": 75069184,
"finish_state": "error",
"server_id": "ac:de:48:00:11:22:3000",
"app": {
"id": "MOP",
"version": "1.2.3"
}
}
}
},
"metrics": {
"owner": "Pronghorn",
"start_time": 1555430149763,
"end_time": 1555430169683,
"run_time": 75069184,
"finish_state": "canceled",
"server_id": "ac:de:48:00:11:22:3000",
"app": {
"id": "WorkFlowEngine",
"version": "3.2.1"
}
},
"status": "canceled",
"error": [
{
"task": "job",
"message": "No available transitions found from completed task(s)",
"timestamp": 1555471643117
},
{
"task": "job",
"message": "No available transitions found from completed task(s)",
"timestamp": 1555471643117
}
]
}
]