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",
"owner",
"created_by",
"user"
],
"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": "sint officia ut nulla dolore",
"description": "proident cillum",
"app": "do amet sunt sed",
"variables": {
"error": ""
},
"groups": [
"a53d1fca1854581c84c66a9d",
"ed362461064666ee582d6b99",
"efc1f6784aa6f254451dea00",
"f9dea4f7bef532e283f5fea5",
"29b9135add44ed3f7fb39af6"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"26e20e2810fffa953897022e",
"1f2beef38e90219e14f42487",
"6667714e30c2b284b0203ff8",
"365a61edef2f7ee9a0b266ff"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "ullamco dolore",
"font_size": 12,
"created": "2005-04-16T17:37:51.985Z",
"created_by": "401a5e598ba862cd38200fb3",
"last_updated": "1988-09-15T05:32:02.997Z",
"last_updated_by": "bafe49659fd7b359b71d7e1b",
"lastUpdatedVersion": "adipisicing ut fugiat sint elit",
"tags": [],
"canvasVersion": 2
}
],
"skip": 0,
"limit": 50,
"total": 100
}