Summary
Export Workflow
Description
Export a single Workflow
Route
POST /workflow_builder/export
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
options |
object |
yes |
match a workflow using _id or name or type |
Copied to Clipboard
{
"options": {
"_id": "5cb7b531d06cceb89fd21b1c",
"name": "someWorkflowName",
"type": "automation"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"options": {
"type": "object",
"properties": {
"_id": {
"type": "string",
"pattern": "^[0-9a-f]{24}$",
"title": "MongoDB ObjectId",
"description": "Id of Workflow document",
"examples": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c"
]
},
"name": {
"type": "string",
"description": "The name of the workflow",
"examples": [
"someWorkflowName"
]
},
"type": {
"type": "string",
"description": "The type of the workflow",
"examples": [
"automation"
]
}
},
"additionalProperties": false
}
},
"required": [
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
workflow |
object |
Exported Workflow |
Copied to Clipboard
{
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": 22629439.77069974,
"y": 37207619.4896566
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 4657109.0914734155,
"y": -3485320.772791043
},
"error_handler": {
"name": "childJob",
"summary": "sint eu in amet nisi",
"description": "deserunt in aliquip eiusmod sint",
"app": "exercitation quis ut mollit minim",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/qE6f/~0/NKFMtfyp/lP1y/~1"
},
{
"type": "encryption",
"pointer": "/~0/~0/~1/wM/~0"
},
{
"type": "encryption",
"pointer": "/ukcVwr75P/Z/~0/ZuGmin/~0"
},
{
"type": "encryption",
"pointer": "/hjpjYbbiuMG/~0/~1/~1"
}
]
},
"groups": [
{
"name": "mollit occaecat sunt elit ea",
"provenance": "Lorem"
},
{
"name": "aute laborum proident in dolor",
"provenance": "sint"
}
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "ex",
"provenance": "aliqua in occaecat"
},
{
"name": "pariatur et dolor culpa aliqua",
"provenance": "adipisicing nostrud ullamco sunt"
},
{
"name": "pariatur",
"provenance": "non cupidatat"
},
{
"name": "labore voluptate Duis non",
"provenance": "veniam"
},
{
"name": "mollit",
"provenance": "et in irure ullamco est"
}
],
"_id": "b9acb0e2-c1b1-2477-15cf-1af6aae559e1",
"description": null,
"errorHandler": {
"type": "Excepteur",
"name": "in mollit anim in minim"
},
"font_size": 12,
"created": "1943-02-03T06:00:15.453Z",
"created_by": null,
"createdVersion": "dolore",
"last_updated": "1958-06-12T01:30:59.779Z",
"last_updated_by": null,
"lastUpdatedVersion": "cillum labore consectetur esse",
"tags": [
{
"_id": "5cF66BFeD7c004D69529bf2f",
"name": "aliqua id commodo",
"description": "voluptate"
},
{
"_id": "D035501a2D065deE9dcF68FF",
"name": "quis aute",
"description": "Excepteur"
},
{
"_id": "87eC28dadBC0e655607d6Ecc",
"name": "nisi nostrud officia voluptate consectetur",
"description": "dolore"
},
{
"_id": "ed70585f02cd7B8ce19597a8",
"name": "elit qui consequat amet",
"description": "sunt veniam esse Lorem"
}
],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/Ngv/hSYfOnO/wCE5Tro2y7C/x9k+xgZm/xBvt6ro/cssfALDQV/CY+Uf+YZwi"
},
{
"type": "encryption",
"pointer": "/~1"
},
{
"type": "encryption",
"pointer": "/~0/~1/~1/ss2pchV4C"
}
],
"migrationVersion": 96812408
}