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": [
"created_by",
"user",
"user",
"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
},
"error_handler": {
"name": "childJob",
"summary": "aute Lorem est",
"description": "ad adipisicing fugiat",
"app": "Duis eiusmod",
"variables": {
"error": ""
},
"groups": [
"d9edb6600f388abf17354e5c"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": false,
"scheduled": true,
"retrySettings": {
"state": [
"error"
],
"autoRetry": true,
"limit": 20,
"delay": 1000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"679171ab02b97ba292a4e898",
"b426ea26556cbf2631d097c5",
"6949b8917ef11f9495db935d",
"4c256419fba80690822b62fe",
"2e2c917a939efbbab12cc845"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": null,
"preAutomationTime": 250000,
"font_size": 12,
"created": "1991-09-13T22:27:48.176Z",
"created_by": "e9e7c3104d7bdedd4512f176",
"last_updated": "1975-01-26T07:08:09.111Z",
"last_updated_by": "9eab4a19e85879ec01e47c79",
"lastUpdatedVersion": "adipisicing tempor",
"tags": [],
"canvasVersion": 2
}
],
"skip": 0,
"limit": 50,
"total": 100
}