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",
"owner",
"owner",
"created_by"
],
"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": "non",
"description": "Duis anim cillum pariatur",
"app": "nostrud occaecat",
"variables": {
"error": ""
},
"groups": [
"a62edf7c4bb9878f04f0a048",
"18ecac65843764788ffc94be",
"60cd4dbecaa6a8aedb85ec43",
"31d850fb9c20c0de2fd4ccf0",
"1e716168a197a1ec0e55120f"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"success",
"success",
"success"
],
"autoRetry": false,
"limit": 20,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"10da144542f44fefb564b2c7",
"dfc9015d0db51c14081cec19"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "nostrud eiusmod ad exercitation reprehenderit",
"preAutomationTime": 5000,
"font_size": 12,
"created": "1986-08-02T07:27:14.445Z",
"created_by": "aa4c8d83b459aa282c24b8d7",
"last_updated": "1981-07-28T19:09:11.216Z",
"last_updated_by": "d42a9ad43217b513d2b36752",
"lastUpdatedVersion": "do dolore",
"tags": [],
"canvasVersion": 1
}
],
"skip": 0,
"limit": 50,
"total": 100
}