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", "created_by", "user" ], "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": [], "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": "in tempor", "description": "id", "app": "voluptate amet fugiat tempor nisi", "variables": { "error": "" }, "groups": [ "05495f9ccbb14e761ce59170", "34620da7f57fcf320595bf8d", "8be3ddd5a1f53ab52eb9eb4d" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "failure", "success" ], "autoRetry": true, "limit": 20, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "d7b61eaf8d733a607fb6ccd0", "17dc7393cf6900df8e308a5d", "ab195a2d443ca6fdff52361c" ], "_id": "4321abcdef694aa79dae47ad", "description": "laboris consectetur", "preAutomationTime": 5000, "font_size": 12, "created": "2009-06-10T23:36:25.069Z", "created_by": "6de66113aa7dba674df86a57", "last_updated": "2016-07-23T03:53:29.171Z", "last_updated_by": "a9534e2211a5d6c589fff25c", "lastUpdatedVersion": "proident Duis", "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": "aute ex", "description": "veniam enim minim deserunt eiusmod", "app": "laboris occaecat", "variables": { "error": "" }, "groups": [ "8d85c36e821eb699d396b168", "9e6ec5e36ef6b24b5a75b04a", "9e9afaeb552648e3ed451cd8" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": false, "scheduled": false, "retrySettings": { "state": [ "success", "failure" ], "autoRetry": false, "limit": 10, "delay": 1000, "count": 5 } } }, "transitions": {}, "groups": [ "5ec66b0fe489da6c03f37197", "68b83063b5bcad9648b11665", "e99ab2be41c28bcf327d0b50", "3edb1d99b76ff60352b2f9ce" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": null, "preAutomationTime": 5000, "font_size": 12, "created": "1956-05-16T10:45:10.118Z", "created_by": "830ebcf8ad23795ddffe6898", "last_updated": "1970-01-22T16:07:08.543Z", "last_updated_by": "f8ac9610db0a37550a0c3423", "lastUpdatedVersion": "sit non 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": "quis", "description": "velit", "app": "eiusmod nisi in qui ut", "variables": { "error": "" }, "groups": [ "1c3901f7f437204e92772df0", "ab0f863c420d6d9e0ce8de05" ], "x": 0.36142061281337046, "y": 0.502092050209205, "type": "operation", "deprecated": true, "scheduled": false, "retrySettings": { "state": [ "error", "error", "failure" ], "autoRetry": false, "limit": 10, "delay": 2000, "count": 5 } } }, "transitions": {}, "groups": [ "04b75b2cb6743039b0963160", "d4f8a7ecec8d0d54ba94dddf", "cd8f93b4cc61c64bf1376042", "e9b02021e1c3b64b9f15f9e7" ], "_id": "5cb7b531d06cceb89fd21b1c", "description": "deserunt esse Excepteur", "preAutomationTime": 5000, "font_size": 12, "created": "1977-10-14T22:37:24.577Z", "created_by": "e98ef358a1a7be6aa3b10194", "last_updated": "1982-07-28T17:19:15.773Z", "last_updated_by": "28af9531653669299b0b6d6b", "lastUpdatedVersion": "esse velit", "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" } } }