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": [ "created_by" ], "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": "cupidatat do occaecat", "description": "ut incididunt ex elit occaecat", "app": "dolor exercitation nulla", "variables": { "error": "" }, "groups": [ "4590606d0d5c8a6bc7f2a2ab", "d585037ccebd19564eaeab1f", "a0aa782964dc33f4b3a0fbd6" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "failure", "success", "success", "failure" ], "autoRetry": false, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "541dd4fe6a2de29dd49a47af", "bd93870c1cd497db7c03f171", "6f8ce1163c95f1d7aaae932d" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "2012-01-08T12:27:30.167Z", "created_by": "29ca7062d0ec9b363fce64a5", "last_updated": "1998-07-04T12:37:43.624Z", "last_updated_by": "f6fe92a0f7da81aaad456070", "lastUpdatedVersion": "ut proident anim cillum", "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": "aliquip Ut nulla", "description": "laborum", "app": "dolore", "variables": { "error": "" }, "groups": [ "f4fe6898fe573906a1fc26aa", "8bb495fb735ed937bb3c748e" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "eacf94786e631a591a1cacfc", "37dd47dd6b99669b0c1d35df", "e5e27e31e7ff7d4f22eb4433" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1992-04-24T04:07:23.954Z", "created_by": "a701deb804137fee7dda4513", "last_updated": "2008-03-11T03:37:38.64Z", "last_updated_by": "b22862cc31aafdc182625346", "lastUpdatedVersion": "incididunt adipisicing", "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": "deserunt do veniam", "description": "irure ipsum minim veniam", "app": "occaecat", "variables": { "error": "" }, "groups": [ "a3f6683660d931c7ccbb2ed1", "4502cce9d8111dfa2856ac14", "82a2baa5cb716f08ab1fdaec", "3fb8fc873b8a60a58d2af746", "d9660891414c85f399b45afc" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "a5a94229670a904246306004", "ab7949476972fa197d485f8d", "5ed48202ca4ec58dba5fedb4" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1958-11-23T17:50:27.287Z", "created_by": "003cb3028abf43af7a95af01", "last_updated": "2019-04-20T03:33:35.788Z", "last_updated_by": "393d1f179d8d19b477b726c8", "lastUpdatedVersion": "irure", "tags": [], "canvasVersion": 2 } ], "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" } } }