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": [
"created_by",
"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": [],
"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": "eu aliqua in officia occaecat",
"description": "commodo velit",
"app": "sunt officia",
"variables": {
"error": ""
},
"groups": [
"0a1c0714ea04a41124115641",
"c3a07f6691b5e9032de095ee",
"753bca83c67e171220089423",
"b03a89b457bd3b8f0194d482"
],
"x": 0.36142061281337046,
"y": 0.502092050209205,
"type": "operation",
"deprecated": true,
"scheduled": true,
"retrySettings": {
"state": [
"error",
"failure"
],
"autoRetry": false,
"limit": 10,
"delay": 2000,
"count": 5
}
}
},
"transitions": {},
"groups": [
"72c06ff1bbabf8c756562472",
"56564c8d9d06d4f6c7bf7b11"
],
"_id": "4321abcdef694aa79dae47ad",
"description": "nostrud aliqua tempor enim",
"preAutomationTime": 250000,
"font_size": 12,
"created": "1985-01-04T19:20:02.396Z",
"created_by": "9abc9a542170b8ad8c80be59",
"last_updated": "1992-07-28T15:55:08.399Z",
"last_updated_by": "53a1563e6846f0a8b22c296c",
"lastUpdatedVersion": "commodo",
"tags": [],
"canvasVersion": 1
}
],
"skip": 0,
"limit": 50,
"total": 100
}