Summary
Search Workflows
Description
Search Workflows with Options
Route
POST /workflow_engine/workflows/search
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
options | object | yes | expand, fields, query, limit, skip, sort |
{ "options": { "expand": [ "owner", "user", "owner", "user", "created_by" ], "fields": { "name": 1 }, "query": { "name": "abcd" }, "limit": 50, "local": false, "skip": 0, "sort": { "name": -1 } } }
{ "type": "object", "properties": { "options": { "$ref": "wfEngineCommon#/definitions/expandedSearchOptions" } }, "required": [ "options" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
workflows | object | Search Results |
{ "results": [ { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "d0a80bd6286127dd10aeeb6e", "f4bc71f0982b7535a9811eff", "9fb71ed33054e66958174bf8", "b9020032a92ff2f3fb61303e" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "aa0305a0a04826ab8d3d40b9", "768bf3ef9529196b94a70ae5", "42b3d901d94a4c6b5d77f367" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "veniam", "description": "aliquip anim", "app": "qui", "variables": { "error": "" }, "groups": [ "3abbcb0161fce6f666248bcf" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "f4729050607be2e3e9896501", "7129eb7af03c491058f7103b", "b5874ead71bdf60337d47e4c", "5019d819e623e43295a753e7", "9f3192134380be9130a27c89" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "reprehenderit Duis eiusmod sunt consequat", "preAutomationTime": 5000, "font_size": 12, "created": "1950-09-29T23:22:19.013Z", "created_by": "30c3698951e3ce4130374393", "last_updated": "1963-10-05T20:55:38.909Z", "last_updated_by": "1f7425fca990612374dea17a", "lastUpdatedVersion": "quis commodo", "tags": [ "dolore anim fugiat in", "esse nulla fugiat veniam", "in" ], "canvasVersion": 2, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "2493ad378d3be821e475d61f", "41a11dd438f22b4fd0cb5397", "7f33790fc0fa5b0146dab004", "def96c8eab764bbedd464364", "0740c5c8c2138db043412bae" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "f188260772e7c305c1c1a430" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "incididunt ut eiusmod", "description": "incididunt fugiat", "app": "ipsum commodo", "variables": { "error": "" }, "groups": [ "11acf99524924df7b720ac3e" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "success" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "c071b4c4cfa1aa98194ec818", "a225a52a518509316e895c8a" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1989-09-07T12:10:20.373Z", "created_by": "d2810336ebe8cfb13d19515a", "last_updated": "2021-10-16T17:16:28.934Z", "last_updated_by": "c4275687b9b44112672a6756", "lastUpdatedVersion": "dolore ullamco minim", "tags": [ "ut incididunt", "ex" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "7db3aa3fa300d06932a000ed", "1e64015dcb8c747cfeab838b", "2d4b5f67eb4b5a57afacff18" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "d1e497536b510a9ef4994ba9", "3c54eaff8d0eb0c36cad5588", "22dc4b898b7fe4312fdd94be", "2daa7c67c86d81732f8159e9" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "id", "description": "aliqua sit commodo laborum dolore", "app": "ullamco aliquip ex commodo irure", "variables": { "error": "" }, "groups": [ "15234796c928b6601ad2b757", "6db4a622dec8731458c76a77", "c128f7aad0872d0ea2cf6c4d", "a23dafd67e64a92ac44b4dc3" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "success", "failure", "error" ], "autoRetry": true, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "68f8d72730e60dad1ad4c9e9" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "eiusmod reprehenderit cillum aliquip exercitation", "preAutomationTime": 250000, "font_size": 12, "created": "1952-12-03T09:10:23.282Z", "created_by": "3e3b0fc3100a3e3d5917354c", "last_updated": "1994-08-31T12:02:57.466Z", "last_updated_by": "7e64153b0fd34b4e6def092a", "lastUpdatedVersion": "laborum", "tags": [ "voluptate dolore laboris nostrud sit" ], "canvasVersion": 1, "encodingVersion": 1 } ], "skip": 0, "limit": 50, "total": 100 }
{ "title": "workflows", "type": "object", "properties": { "results": { "type": "array", "items": { "$ref": "workflowDocument" } }, "skip": { "$ref": "wfEngineCommon#/definitions/skip" }, "limit": { "$ref": "wfEngineCommon#/definitions/limit" }, "total": { "$ref": "wfEngineCommon#/definitions/total" } } }