Summary
Search Workflows
Description
Search Workflows with Options
Route
POST /workflow_engine/workflows/search
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
options |
object |
yes |
expand, fields, query, limit, skip, sort |
Copied to Clipboard
{
"options": {
"expand": [
"created_by",
"owner"
],
"fields": {
"name": 1
},
"query": {
"name": "abcd"
},
"limit": 50,
"local": false,
"skip": 0,
"sort": {
"name": -1
}
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
workflows |
object |
Search Results |
Copied to Clipboard
{
"results": [
{
"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": "nulla aute in enim",
"description": "deserunt et",
"app": "irure adipisicing consectetur dolore",
"variables": {
"error": ""
},
"groups": [
"ca7ed0f5435dc788e18ab9dd"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"error",
"failure",
"error",
"failure"
],
"autoRetry": true,
"limit": 10,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"03e8a1db374f877402630e7d",
"3fa38e573db0cb17fc980185",
"b037381f6ee79b3e086e420a"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1953-01-13T21:53:44.669Z",
"created_by": "7cc61c2d88618ad8c8f35677",
"last_updated": "1985-11-27T09:24:00.802Z",
"last_updated_by": "f02c626de084431c9ab635df",
"lastUpdatedVersion": "sed veniam elit",
"tags": [],
"canvasVersion": 2
}
],
"skip": 0,
"limit": 50,
"total": 100
}