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": [
"owner",
"created_by",
"owner",
"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": "enim Lorem",
"description": "dolore laborum id",
"app": "dolore enim tempor occaecat",
"variables": {
"error": ""
},
"groups": [
"7b735f84a529f2793eb7fd0d"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"a2b07fe28fba2054e596a961",
"0fd35a4255756a905b433d2d",
"113e8bcdfb08b7cbcfdcdd48"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"font_size": 12,
"created": "2020-10-22T02:41:41.201Z",
"created_by": "25f003e6deef16c49025c8f6",
"last_updated": "1966-08-04T20:34:11.79Z",
"last_updated_by": "7cdf029e448d9216340bbf51",
"lastUpdatedVersion": "irure qui pariatur",
"tags": [],
"canvasVersion": 1
}
],
"skip": 0,
"limit": 50,
"total": 100
}