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"
],
"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
}
},
"transitions": {},
"groups": [
"603bed40ec0e477c95361ae9"
],
"_id": "ff432f84-5de3-ecf7-30d5-4c29a9f6d02b",
"description": "commodo Excepteur irure non consectetur",
"font_size": 12,
"created": "1957-10-03T20:09:02.838Z",
"created_by": "b921891a6d0cdb6e6bb273ba",
"last_updated": "1993-03-23T18:42:57.788Z",
"last_updated_by": "84d7880463d6570a617e329f",
"tags": []
},
{
"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": [
"2348dd9d6674abb07ce66336",
"c22147f2ef9d5b04750e6e79",
"c1e42e23a86bbf5e47859439",
"161d1d7322740e7ab1962c71"
],
"_id": "3bdfaab5-55b8-eb86-25f0-92447e6e4d09",
"description": null,
"font_size": 12,
"created": "1944-08-22T19:28:33.703Z",
"created_by": "61df116662661eb262a23336",
"last_updated": "2007-12-08T10:00:19.287Z",
"last_updated_by": "ed9dd3617ed29719bc710f9e",
"tags": []
}
],
"skip": 0,
"limit": 50,
"total": 100
}