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",
"user",
"owner",
"user",
"created_by"
],
"fields": {
"name": 1
},
"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
}
},
"transitions": {},
"groups": [
"f549eac9e63363298573746d",
"63a0ba0984b2609f2ca7d3ed",
"ae5c992f204e2596c7eb90dd"
],
"_id": "f6c9aa4e-1c36-b46f-4558-e9f52449c2a4",
"description": "ut Lorem",
"font_size": 12,
"created": "2020-10-07T20:53:20.754Z",
"created_by": "39a16b754714cbb5a0c93194",
"last_updated": "2020-06-27T04:35:40.481Z",
"last_updated_by": "7347be1fcf3fe3fce2009ede"
},
{
"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
}
},
"transitions": {},
"groups": [
"f0ae3456d27d31979c3a3958",
"a6f35a39d19b485f8beaaeca",
"4f350758a83a246c9b8215b7",
"2c1e6af2e414dbe2b6e34b71"
],
"_id": "194f830d-eca2-2102-4353-f0b705aba6cc",
"description": null,
"font_size": 12,
"created": "2019-11-29T01:56:18.343Z",
"created_by": "03413deeb072879e4a7f3d9f",
"last_updated": "2006-02-18T04:53:55.028Z",
"last_updated_by": "1cb288ec4512ff811c37e012"
}
],
"skip": 0,
"limit": 50,
"total": 100
}