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", "owner", "created_by", "user" ], "fields": { "name": 1 }, "query": { "name": "abcd" }, "limit": 50, "local": true, "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": [], "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 velit", "description": "dolore", "app": "velit minim quis eu ea", "variables": { "error": "" }, "groups": [ "0820266b02c1d70c1f609942" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false } }, "transitions": {}, "groups": [ "d8beb78395f8bfa634a78608", "63ba0c225b20dd4170e56f59", "7958a92d6ba6ad3952a0ac66", "8a4967327af44795c6e1ca21", "6afff3f4648ceb235f9afac3" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1942-06-09T08:53:53.612Z", "created_by": "a5c20a06b369005ce03d3798", "last_updated": "1986-11-24T14:22:38.538Z", "last_updated_by": "313682b1a3d00f4b440c3086", "lastUpdatedVersion": "ad aute", "tags": [], "canvasVersion": 2 }, { "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", "description": "enim ullamco velit sed", "app": "magna in officia dolore veniam", "variables": { "error": "" }, "groups": [ "5d91f41da1d19d023f12f040", "cf1350f60764bd0887d9f894" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ "c8c2c6cef743d0fca180d50d", "04ee01bbfb74fc4b2493dac5" ], "_id": "4321abcdef694aa79dae47ad", "description": "occaecat deserunt", "preAutomationTime": 250000, "font_size": 12, "created": "2019-11-19T07:34:29.022Z", "created_by": "91443e48b63f6737cad09b1e", "last_updated": "1943-02-08T02:54:34.426Z", "last_updated_by": "151eeef15d13fbd75161e497", "lastUpdatedVersion": "do proident in in dolor", "tags": [], "canvasVersion": 1 }, { "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": "adipisicing eiusmod aliqua minim velit", "description": "aute anim culpa quis", "app": "minim amet voluptate Lorem cillum", "variables": { "error": "" }, "groups": [ "e9e3083a5b09d51cf7b1365d", "1ecfa7fa99526bb7631a34e1" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true } }, "transitions": {}, "groups": [ "4bc58da91f8875458d3e5ea1" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "ullamco", "preAutomationTime": 250000, "font_size": 12, "created": "1975-02-07T04:32:57.842Z", "created_by": "07dd98dd9fc4ded66ca23337", "last_updated": "1968-08-05T03:27:52.317Z", "last_updated_by": "123002834e065b2fdf92cff5", "lastUpdatedVersion": "eiusmod amet exercitation est fugiat", "tags": [], "canvasVersion": 1 }, { "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": "fugiat culpa exercitation", "description": "esse", "app": "pariatur in ut", "variables": { "error": "" }, "groups": [ "921af52517499bbf652b4d9b" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false } }, "transitions": {}, "groups": [ "6e85b68f816ac39122762f33", "aff23a482fa8e398b724407f", "d09c0988b68a3d89ae2fc3f5" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "2008-03-28T23:52:20.39Z", "created_by": "94749e37eec0711497d2cacb", "last_updated": "1966-11-10T03:45:27.032Z", "last_updated_by": "c2f138bc78ecfce24bca3c85", "lastUpdatedVersion": "quis Excepteur", "tags": [], "canvasVersion": 2 } ], "skip": 0, "limit": 50, "total": 100 }
{ "type": "object", "properties": { "results": { "type": "array", "items": { "$ref": "workflowDocument" } }, "skip": { "$ref": "wfEngineCommon#/definitions/skip" }, "limit": { "$ref": "wfEngineCommon#/definitions/limit" }, "total": { "$ref": "wfEngineCommon#/definitions/total" } } }