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", "owner", "user", "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": [ "7823dd7aa7464c9c4f40f0d1", "435a99c7abdc14f6b2382a27" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "66fe930f07f0c92bbcec0e47", "545414c9d3ac0201f46c439f", "071d6e084d65470782c2eb77", "7fd538f59bd5a06513c46fd4" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "in", "description": "consectetur amet", "app": "ut", "variables": { "error": "" }, "groups": [ "bb90c9a07ce47138de93d873", "3dabf1c560a5220ac243eb5c", "d9fb7c5bd6b5294a02e61a19", "914def6c9d7969feceeecb9f", "44d21e3c672f59004a729fec" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "success" ], "autoRetry": false, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "7f8a74a266596deffbc1e26f", "a279ed1c9edc5537f50a9ebf", "5e7feba91767a13ed4f4937a", "2f9b8724d0294561cc93b078" ], "_id": "4321abcdef694aa79dae47ad", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "2014-07-01T17:04:21.829Z", "created_by": "ab19ed358c7a3b2887b2c7d1", "last_updated": "1975-12-21T01:36:11.051Z", "last_updated_by": "c0fc0f293e1cc9fde4acdd79", "lastUpdatedVersion": "anim irure", "tags": [ "minim exercitation magna", "culpa nulla sunt qui", "cillum", "sunt fugiat sint" ], "canvasVersion": 1, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "9e5e82b14b702c7af526fb41" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "1f61a070642965c224018d36", "1359327bce8e249eb3b16f22" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "consectetur Excepteur voluptate", "description": "irure in ipsum velit", "app": "cillum", "variables": { "error": "" }, "groups": [ "1d17868408e521327c582c9f", "ec4b94e914aeda16fb52e9c4", "a345aa6154ca1eef16b3aa20" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "success", "error", "error", "failure", "failure" ], "autoRetry": false, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "cf94d8bf6f9bd914f3a0aa99", "0a8ca2c19d49a82950b6d5e0", "c7ab01b8c79371a377909e44", "bb8d98765fdc363f318bc24c", "a3e3fd181c0e7a823ffa28da" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "1996-04-17T12:26:43.443Z", "created_by": "13936f1594ef19333b4b3aa6", "last_updated": "1960-01-04T06:20:21.803Z", "last_updated_by": "b0a4e711ee640801b05de364", "lastUpdatedVersion": "dolor", "tags": [ "dolore", "dolor" ], "canvasVersion": 2, "encodingVersion": 1 }, { "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ "897a035313a2e07d1082e556", "99a16f24cb0886c89e2104d8" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ "379607f0e73f9815740fb34e" ], "x": 0.36142061281337046, "y": 0.502092050209205 }, "error_handler": { "name": "childJob", "summary": "Excepteur minim amet consequat", "description": "aliqua", "app": "laborum", "variables": { "error": "" }, "groups": [ "f7b266e0a8918129a5c2272f", "c073ab20249a1dbc746c2c23" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": true, "retrySettings": { "state": [ "failure", "error", "error" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "6ba18c018a3c51542ac91c52" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 250000, "font_size": 12, "created": "2014-11-27T18:32:30.206Z", "created_by": "7ea136b48fff5fa01a5ac0b8", "last_updated": "1999-02-13T01:45:07.17Z", "last_updated_by": "7966fb9b187650ed00cc73e2", "lastUpdatedVersion": "pariatur cupidatat irure Lorem", "tags": [ "reprehenderit Ut", "occaecat minim Duis" ], "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" } } }