Summary
Search Workflows
Description
Search Workflows with Options
Route
POST /workflow_engine/workflows/search
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
options |
object |
yes |
expand, fields, query, limit, skip, sort |
Copied to Clipboard
{
"options": {
"expand": [
"owner",
"owner",
"owner",
"user"
],
"fields": {
"name": 1
},
"query": {
"name": "abcd"
},
"limit": 50,
"local": false,
"skip": 0,
"sort": {
"name": -1
}
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
workflows |
object |
Search Results |
Copied to Clipboard
{
"results": [
{
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [
"cd1997086d5ccecc430e9f40"
],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"eaba3aa1686c5089cc305bdf",
"2d05a4d3e588a59431987791"
],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"error_handler": {
"name": "childJob",
"summary": "velit ex",
"description": "tempor",
"app": "sunt",
"variables": {
"error": ""
},
"groups": [
"cd523eb2c16f1db8a50be5d5"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"error",
"failure",
"success",
"error",
"failure"
],
"autoRetry": false,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"1f5bd9c8adafa31e1e2fa00a"
],
"_id": "5cb7b531d06cceb89fd21b1c",
"description": "mollit sint ad",
"preAutomationTime": 250000,
"font_size": 12,
"created": "1954-02-11T11:40:23.014Z",
"created_by": "8c3c521400a28999f9a4981b",
"last_updated": "2014-05-28T02:10:33.168Z",
"last_updated_by": "03f822a63513cc2265c118bd",
"lastUpdatedVersion": "dolor sunt id",
"tags": [
"velit cupidatat ad nulla",
"consequat enim",
"veniam exercitation magna ut"
],
"canvasVersion": 1,
"encodingVersion": 1
}
],
"skip": 0,
"limit": 50,
"total": 100
}