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": 98862554.24119627,
"y": -52466287.97524759
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 76749196.32412118,
"y": 61221416.69435716
},
"error_handler": {
"name": "childJob",
"summary": "dolore incididunt fugiat sit",
"description": "aute cupidatat exercitation ullamco cillum",
"app": "quis pariatur ut dolor",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/PjlG"
},
{
"type": "encryption",
"pointer": "/~0/zLs,Nmb+0-r/~0/~1/RqmjpZiHwq9/mjOkrVfJ/DD"
},
{
"type": "encryption",
"pointer": "/~1/~1/AWKf/drmviZ/~1/~0/oXx-/Gf-/N9"
},
{
"type": "encryption",
"pointer": "/~0/~1/PMp,/~0/d6kk-2Oe/~0/eR,LZp41S/~1/cbbb4C38vQd/~0/~0"
}
]
},
"groups": [
{
"name": "veniam",
"provenance": "dolore sint id nisi"
},
{
"name": "cillum eu cupidatat nostrud",
"provenance": "Lorem Ut velit et ullamco"
},
{
"name": "cillum commodo veniam ea",
"provenance": "ad commodo"
},
{
"name": "esse",
"provenance": "aute"
}
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "adipisicing id ex",
"provenance": "reprehenderit do"
},
{
"name": "dolore",
"provenance": "ut aliqua in enim"
},
{
"name": "nisi in dolor minim",
"provenance": "ullamco enim minim"
},
{
"name": "irure",
"provenance": "officia"
},
{
"name": "sunt velit",
"provenance": "elit enim quis minim"
}
],
"_id": "aba4353e-d789-73d3-0647-2ed407d3f2d5",
"description": "dolor dolore reprehenderit officia",
"errorHandler": null,
"font_size": 12,
"created": "1968-10-13T03:22:12.723Z",
"created_by": null,
"createdVersion": "anim nostrud",
"last_updated": "1975-07-17T23:48:34.402Z",
"last_updated_by": null,
"lastUpdatedVersion": "enim",
"tags": [
{
"_id": "c7567fBa3B08e59BD1cadd6c",
"name": "ut et Ut",
"description": "deserunt eiusmod ea"
},
{
"_id": "26485846b1DEECcF945A21Fa",
"name": "sint Ut",
"description": "cupidatat incididunt cillum"
},
{
"_id": "A6DDB0314404b98b9057771E",
"name": "Lorem officia sint in",
"description": "Ut cillum"
},
{
"_id": "97D182d0B32cAeF4f6D3acD4",
"name": "mollit",
"description": "enim ut dolor"
}
],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/pmiMO94J/~0/~1"
}
],
"migrationVersion": 60175251
}