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": "4321abcdef694aa79dae47ad",
"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": -81704692.40022369,
"y": -82328517.3552554
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 68924979.9664652,
"y": -58543742.79801715
},
"error_handler": {
"name": "childJob",
"summary": "incididunt do",
"description": "Excepteur laboris eu",
"app": "est labore voluptate eu sunt",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/jbnPxT/LN3U/~1/~1/jpMPXnP6Q/SdXB/~0"
},
{
"type": "encryption",
"pointer": "/~0/~0/~0/VscTPV/fR/B/~1/xRvstLOJ.Fx/KgkS3C13RU"
},
{
"type": "encryption",
"pointer": "/lf2XI/rvMjQ2QQJ/~1/~1/~1/LCLW/sT/~0/D/yrLO/lcDUm9N."
},
{
"type": "encryption",
"pointer": "/~1/BWXHXu/~1/S/~1"
}
]
},
"groups": [
{
"name": "laborum dolore",
"provenance": "esse anim sint"
},
{
"name": "commodo tempor nostrud aliquip dolor",
"provenance": "id ut dolor eu"
},
{
"name": "sint",
"provenance": "ad commodo laborum sunt aliquip"
}
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
{
"name": "Lorem cillum aliqua",
"provenance": "quis et proident eiusmod dolore"
},
{
"name": "ullamco",
"provenance": "voluptate occaecat tempor sit"
}
],
"_id": "1f8b3f93-e222-b138-cbe3-e7dd6b804079",
"description": "do cupidatat anim qui incididunt",
"errorHandler": null,
"font_size": 12,
"created": "1957-06-13T06:46:15.829Z",
"created_by": {
"username": "dolore",
"provenance": "in amet occaecat aliqua"
},
"createdVersion": "incididunt consequat enim",
"last_updated": "2006-10-15T06:09:12.757Z",
"last_updated_by": null,
"lastUpdatedVersion": "cillum proident in",
"tags": [
{
"_id": "7CaB08dF09a96eaA8D4f39aD",
"name": "id",
"description": "amet ut Duis"
},
{
"_id": "f76A9471D8C72CbDf3f047dc",
"name": "velit Ut Duis sint",
"description": "elit aliquip sed reprehenderit ad"
},
{
"_id": "90FBfEf795cc03F00a9D3C95",
"name": "culpa proident magna",
"description": "dolor cillum incididunt deserunt"
},
{
"_id": "18466e3ccF0180e32bD2984e",
"name": "dolore tempor cillum",
"description": "aliquip quis"
},
{
"_id": "9a36efA473FF4CC88dF440D9",
"name": "dolore",
"description": "adipisicing"
}
],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/UbWdpgjVp/~1/ULuujwaK/gfNr/fC3/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0/~0/o9igbg+7OqF/zBch/~1/ZoQuGX/zbl/PZQ7ID93z+/~0"
},
{
"type": "encryption",
"pointer": "/~1/~0/W6s8XtLsg/EGtBH/aPLSlxo7tMA/hg+Glr,i/~1/~1/~0"
},
{
"type": "encryption",
"pointer": "/~1/UXKKBv/~0/~1/~0/AU/~1"
}
],
"migrationVersion": 20578790
}