Summary
Export Workflow
Description
Export a single Workflow
Route
POST /workflow_builder/export
Roles
admin
apiread
Parameters
Details Example Schema
Name
Type
Required
Description
options
object
yes
match a workflow using _id or name. Type may be included as an additional filter when using name.
Copied to Clipboard
{
"options": {
"_id": "5cb7b531d06cceb89fd21b1c",
"name": "someWorkflowName",
"type": "cillum Lorem"
}
}
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. When provided, 'type' can also be specified for additional filtering.",
"examples": [
"someWorkflowName"
]
},
"type": {
"type": "string",
"description": "The type of the workflow. It is an optional field and is used in conjunction with 'name' for filtering."
}
},
"required": [
"_id",
"name"
],
"oneOf": [
{
"required": [
"_id"
]
},
{
"required": [
"name"
]
}
],
"additionalProperties": false
}
},
"required": [
"options"
],
"additionalProperties": false
}
Return
Details Example Schema
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": [
{
"name": "elit nostrud fugiat commodo",
"provenance": "sunt velit cillum id sit"
},
{
"name": "in Duis ut fugiat",
"provenance": "dolore"
}
],
"x": 94884525.96652976,
"y": -35988941.23831444
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
{
"name": "quis eiusmod exercitation",
"provenance": "est laborum"
},
{
"name": "dolore et occaecat quis",
"provenance": "dolore"
},
{
"name": "elit",
"provenance": "in adipisicing Lorem"
},
{
"name": "do aute",
"provenance": "do labore proident"
},
{
"name": "Ut",
"provenance": "consectetur aliqua aliquip mollit sit"
}
],
"x": -63350917.098503955,
"y": -45613422.46324895
},
"error_handler": {
"name": "childJob",
"summary": "qui eiusmod ut aliquip",
"description": "Ut",
"app": "dolor tempor",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/VDx1FF/~0/~1/KwPhiArpl/MiWfzQ"
},
{
"type": "encryption",
"pointer": "/~1/u30mKGv/~1/X0Iuj6UGAl/ndV3Bv/~0/~0/ayTVo"
}
]
},
"groups": [
{
"name": "ut",
"provenance": "irure magna"
},
{
"name": "ipsum sunt ad",
"provenance": "cillum occaecat"
}
],
"x": -74917516.86764428,
"y": -26637947.953115538,
"type": "operation",
"gridCoordinate": {
"x": -53225604.03609704,
"y": -88213623.52147402
},
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
{
"name": "nostrud dolor Ut",
"provenance": "veniam"
},
{
"name": "incididunt nulla nisi ullamco dolor",
"provenance": "consequat in nulla aliqua eiusmod"
}
],
"_id": "fa51e67e-d399-f721-19cd-a0021970afe4",
"description": "cillum",
"errorHandler": {
"type": "exercitation Lorem ad",
"name": "voluptate eu"
},
"font_size": 12,
"created": "2003-06-02T16:52:10.23Z",
"created_by": null,
"createdVersion": "do laboris id officia",
"last_updated": "2012-07-29T04:33:41.16Z",
"last_updated_by": null,
"lastUpdatedVersion": "quis dolor ad Lorem",
"tags": [
{
"_id": "e5beade5a0041180BdB5bAeF",
"name": "magna anim consequat",
"description": "in ullamco"
}
],
"canvasVersion": 1,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/YS0v5G"
},
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/~0/~0"
},
{
"type": "encryption",
"pointer": "/nu/zMCcjsgdt/~1/~0/pf"
},
{
"type": "encryption",
"pointer": "/~0/~1/~0/~0/DIlFBgXWS/~1/luIxJvl/SygGU/37/noZ"
}
],
"migrationVersion": 65542595
}