Summary
Get All Loop Tasks
Description
Get all looped Tasks in a Workflow by Workflow details.
Route
POST /workflow_engine/getAllLoopTasks
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
workflow_details |
object |
yes |
Workflow to get looped tasks. |
Copied to Clipboard
{
"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": "Ut irure ex",
"description": "laboris",
"app": "proident cupidatat non sit aute",
"variables": {
"error": ""
},
"groups": [
"b66effab5eab9bce49f930eb",
"42d00c96505f786b72bffa47"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"error",
"failure",
"error",
"failure"
],
"autoRetry": false,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"11cbd61212bcacca49003d91",
"fecef9b7f24a8ff66f59f180",
"5070598cd791b15ce436b4a9",
"92906b3968f45858996ab079",
"b729dfd5d49f72ebf0a9cfae"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "magna esse ipsum",
"preAutomationTime": 5000,
"font_size": 12,
"created": "2003-07-06T19:04:35.5Z",
"created_by": "505e7104974bfb9780226986",
"last_updated": "2024-03-21T08:47:29.13Z",
"last_updated_by": "b6d9711fafa65957a75b7c6e",
"lastUpdatedVersion": "ut esse cupidatat sunt",
"tags": [],
"canvasVersion": 1
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"workflow_details": {
"$ref": "workflowDocument"
}
},
"required": [
"workflow_details"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
loop_tasks |
array |
looped Tasks of the Workflow. |
Copied to Clipboard
[
"12ab"
]