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"
],
"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": "minim cillum in",
"description": "in do sunt consequat voluptate",
"app": "ipsum voluptate Lorem cupidatat nostrud",
"variables": {
"error": ""
},
"groups": [
"731c6233fe2868fef61f9c8a",
"b82056771dc88eab37283bf5",
"e1f6efd623f157d0d83fe3a7"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false,
"retrySettings": {
"state": [
"success",
"success",
"failure"
],
"autoRetry": false,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"92e8da00e0fb9506d2fb9af6"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "occaecat dolor",
"preAutomationTime": 5000,
"font_size": 12,
"created": "2003-09-18T09:08:46.767Z",
"created_by": "be07c01bb5ef6a8af0386aa9",
"last_updated": "1965-07-15T13:15:25.933Z",
"last_updated_by": "4959dcc3b4b68e066b877768",
"lastUpdatedVersion": "nisi anim",
"tags": [],
"canvasVersion": 1
}
],
"skip": 0,
"limit": 50,
"total": 100
}