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",
"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": "laborum",
"description": "culpa ea ex esse aute",
"app": "ullamco qui quis in culpa",
"variables": {
"error": ""
},
"groups": [
"cd43aa465bd87fac19808ffb",
"f72dcc9ff6fe665c7577d100",
"124f9e131d6f67eff954ce53",
"c3ca945c3672e9b4fb42d957",
"e58d3f56ec0e05de75f36273"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": false,
"retrySettings": {
"state": [
"success"
],
"autoRetry": false,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"2824be6372d5577edfa3f6ce",
"81bfc71aa4ab8129e2dbd695",
"c80bee7ed7567231d5fd224e",
"2a0f19ddea38d2b45e2edc7e",
"a02fa1493763d997c8f439bd"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "do ad commodo velit",
"preAutomationTime": 5000,
"font_size": 12,
"created": "2019-01-23T17:27:17.334Z",
"created_by": "05d97fa20673c717e92ca3d3",
"last_updated": "2016-01-26T03:04:20.97Z",
"last_updated_by": "bf59a7ac10adfefee3bcdf03",
"lastUpdatedVersion": "consequat qui in incididunt ullamco",
"tags": [],
"canvasVersion": 1
}
],
"skip": 0,
"limit": 50,
"total": 100
}