Summary
Find Forward Paths
Description
Find the paths between two Tasks in a Workflow by Task ids and Workflow details.
Route
POST /workflow_engine/findForwardPaths
Roles
admin
engineering
support
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
start_task |
string |
yes |
Id of the start Task. |
end_task |
string |
yes |
Id of the end Task. |
workflow_details |
object |
yes |
Workflow data which contain the tasks and transitions properties of the workflow. |
Copied to Clipboard
{
"start_task": "workflow_start",
"end_task": "workflow_end",
"workflow_details": {
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"error_handler": {
"name": "childJob",
"summary": "pariatur Excepteur",
"description": "Duis et qui nostrud",
"app": "cillum ullamco voluptate ut",
"variables": {
"error": ""
},
"groups": [
"56b7739aaf23294a12c3d432",
"266d465b9788c7890b919f6a",
"99d3006b1f63c05e257b8076"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"5ee9b5c092db22640e3e96c4",
"fa6465c8048d05022e22d517"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "id dolor voluptate qui officia",
"font_size": 12,
"created": "2010-10-14T17:17:50.024Z",
"created_by": "5f328733c055cd15cc7efb93",
"last_updated": "1958-11-05T06:29:49.85Z",
"last_updated_by": "93a268fc31f1ad6e6564369b",
"lastUpdatedVersion": "adipisicing anim amet labore",
"tags": [],
"canvasVersion": 1
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
all_paths |
array |
All valid paths between the Tasks. |
Copied to Clipboard
[
[
"workflow_start",
"workflow_end"
],
[
"workflow_start",
"abcd",
"workflow_end"
]
]
Copied to Clipboard
{
"type": "array",
"items": {
"type": "array",
"items": {
"$ref": "wfEngineCommon#/definitions/workflowTaskId"
}
},
"examples": [
[
[
"workflow_start",
"workflow_end"
],
[
"workflow_start",
"abcd",
"workflow_end"
]
]
]
}