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": [
"user",
"created_by"
],
"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": "sunt do irure mollit fugiat",
"description": "veniam",
"app": "Lorem",
"variables": {
"error": ""
},
"groups": [
"08f054da462e58073fcc9c74",
"571c36e9af7f5abb37028a89",
"b360ab691ea0812c0a1e97c5",
"0759223387d12da536cee665",
"7579f934cedf72efe2ce7656"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"506f9807d612d6fb1aa507d7",
"b64eb96e1b4d34197f802e4e",
"cafe93744bb6be2850bf0760",
"559e712e26144fd9eb3a3811"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": null,
"font_size": 12,
"created": "1998-09-20T15:16:15.37Z",
"created_by": "bbcb5e1c87af813424958f34",
"last_updated": "2019-10-03T07:44:51.442Z",
"last_updated_by": "e62dcf5e4f368e072ee96772",
"lastUpdatedVersion": "mollit proident sed",
"tags": [],
"canvasVersion": 1
}
],
"skip": 0,
"limit": 50,
"total": 100
}