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",
"created_by",
"created_by",
"owner"
],
"fields": {
"name": 1
},
"query": {
"name": "abcd"
},
"limit": 50,
"local": true,
"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": "occaecat ullamco voluptate",
"description": "labore nulla dolor cillum ut",
"app": "ipsum eu velit",
"variables": {
"error": ""
},
"groups": [
"803b6633fc863c6f46559c87",
"21491b315980f291844d1efc",
"c02f528a04450338a6e108c6",
"dfd5fd390ef245c6ec0a5c1d"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"success",
"error",
"success",
"failure"
],
"autoRetry": false,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"f0f4470dc12d8fd4b3361b5d",
"c03942903fb1fe64e148dd69",
"062258d4144e561ab417e1d2"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1978-11-06T19:45:53.705Z",
"created_by": "62c3d0ac6da141d598940cc1",
"last_updated": "1957-12-08T05:12:21.516Z",
"last_updated_by": "67660fc707ebca2525fda780",
"lastUpdatedVersion": "sint in magna",
"tags": [],
"canvasVersion": 2
}
],
"skip": 0,
"limit": 50,
"total": 100
}