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": [ "user", "user", "owner" ], "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": "Excepteur sunt", "description": "enim laboris dolore", "app": "culpa commodo Excepteur", "variables": { "error": "" }, "groups": [ "ada59c1d6a2e0ab76d467df8", "047c14ed7c3c33084f727fcb", "cdc385de713dae57200840bf", "9d1450a8c8bfa619d681734f" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "failure", "failure", "error", "error" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "cdd68818b8e8ef1d2e84489e", "d900cfa7fa8f928a78f19a39" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "et aliqua laborum labore", "preAutomationTime": 250000, "font_size": 12, "created": "1954-12-23T06:23:41.748Z", "created_by": "36c58f2ca7fa690a3260f8dd", "last_updated": "2015-10-28T03:18:23.138Z", "last_updated_by": "df3f9f170e00b533ab5554bf", "lastUpdatedVersion": "Excepteur aliqua", "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": "aute Ut sunt eiusmod aliqua", "description": "sed incididunt velit", "app": "ea", "variables": { "error": "" }, "groups": [ "8c2e4998d599c3f34dadaf25", "d4d4104b3f0cba94a0809cae", "245bc575a88203936e8c8ad3", "14e2affd77a05d8b0992d45b", "531739a0c3b70de680f47850" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "4a610618aa2a38befc65e759", "a622f4a1f3e97cf3ee2f6b99", "e56d657f91e5935c86c5c8e0", "d2b00d062c685b99785fe1c6", "1d99a58dfc69b94259142b97" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "ea proident aliquip", "preAutomationTime": 5000, "font_size": 12, "created": "2003-09-21T23:51:34.585Z", "created_by": "16f3e1b0131a1a3c9c557501", "last_updated": "1945-08-21T19:28:15.17Z", "last_updated_by": "10a38959d65d92d91a0e2665", "lastUpdatedVersion": "voluptate", "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": "sit deserunt", "description": "officia", "app": "ea velit", "variables": { "error": "" }, "groups": [ "6a7dab6e1ad82017850bc151", "51e17b8c0cc5d544da87e5c4", "b938f3c449c61770e31f214c" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "success", "error", "success", "failure" ], "autoRetry": true, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "d3974e3b75402c7e98ab8930", "d675787f123b14d01ad1baf6", "a5ce1e81528d49736366ed33", "00dc0c99693fe9b1c6f183e0" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "amet aute ut irure", "preAutomationTime": 250000, "font_size": 12, "created": "2003-10-03T18:12:50.109Z", "created_by": "4cb473d81f4033ba2010eb65", "last_updated": "1980-10-25T00:41:06.9Z", "last_updated_by": "5c09ffd3ebeaf416b42eec79", "lastUpdatedVersion": "mollit non officia ut minim", "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": "ut deserunt in", "description": "in", "app": "voluptate dolore ipsum in", "variables": { "error": "" }, "groups": [ "8f2c340ff164e4122fa3e131", "a4776017744d3d1d7d6cd36c", "912a1ef52ec7f71ca14d5153", "8106dd3cff7f4e4276c38bbe" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": true, "retrySettings": { "state": [ "error", "error", "failure" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "f89ff324082996b8ab5d09af", "109793bc42329abb0682b0b5" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1954-05-05T04:33:36.008Z", "created_by": "9eda6d3f1999b14d4b2f328f", "last_updated": "2004-11-26T22:17:53.678Z", "last_updated_by": "024d530cff00ac44f5850b37", "lastUpdatedVersion": "ut dolore dolor in", "tags": [], "canvasVersion": 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" } } }