Summary
Export Workflow
Description
Export a single Workflow
Route
POST /workflow_builder/export
Roles
Parameters
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. |
{ "options": { "_id": "5cb7b531d06cceb89fd21b1c", "name": "someWorkflowName", "type": "quis dolore minim" } }
{ "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
Name | Type | Description |
---|---|---|
workflow | object | Exported Workflow |
{ "name": "My Workflow", "type": "automation", "tasks": { "workflow_start": { "name": "workflow_start", "summary": "workflow_start", "groups": [ { "name": "dolore non reprehenderit ipsum", "provenance": "irure anim consectetur consequat amet" } ], "x": -26709091.280525014, "y": 4875210.620829046 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "magna ut amet ea", "provenance": "elit consequat in exercitation" }, { "name": "dolor ullamco ut amet", "provenance": "nostrud sed qui" }, { "name": "magna", "provenance": "occaecat elit" }, { "name": "quis enim", "provenance": "labore" }, { "name": "tempor", "provenance": "occaecat labore dolor" } ], "x": -13045125.092334196, "y": 69706101.58085066 }, "error_handler": { "name": "childJob", "summary": "ad voluptate nostrud Ut", "description": "aliqua ut velit dolore laboris", "app": "aliqua ea minim officia", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/pA,+fGdz/VEd3ja53j7" }, { "type": "encryption", "pointer": "/hq2q6wY-a/Af.wO/~0/UcHW/LddlM/~0/~0/~1/~1/k/Te" }, { "type": "encryption", "pointer": "/~1/~1/Kf24u/~1" } ] }, "groups": [ { "name": "exercitation", "provenance": "commodo sed incididunt" }, { "name": "esse ea", "provenance": "nostrud laborum" }, { "name": "irure aliqua veniam culpa in", "provenance": "anim eu" }, { "name": "aute", "provenance": "voluptate quis" }, { "name": "ipsum velit enim officia", "provenance": "cupidatat ad esse in aliquip" } ], "x": 23217309.147637665, "y": 7183339.525800705, "type": "operation", "gridCoordinate": { "x": -81368072.63654613, "y": 78634858.6981538 }, "deprecated": false, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "mollit", "provenance": "velit fugiat dolor" }, { "name": "minim cupidatat", "provenance": "in nisi non aute Ut" }, { "name": "quis sed", "provenance": "Lorem Ut anim dolor" }, { "name": "minim officia tempor sunt", "provenance": "commodo veniam" }, { "name": "dolore labore", "provenance": "incididunt occaecat labore do" } ], "_id": "3348a343-2f51-984d-165a-5fa0db085517", "description": null, "namespace": { "type": "project", "_id": "5cb5252a1bbc5a00def564c1", "name": "cupidatat qui elit labore sit", "accessControl": { "read": [ "labore magna id", "non", "quis in sed", "proident ut magna dolor ea" ], "execute": [ "sunt in sed pariatur" ], "write": [ "sint irure tempor elit", "enim velit dolore mollit" ], "manage": [ "id laboris ullamco", "Lorem enim", "ut", "consectetur occaecat velit", "reprehenderit" ] } }, "errorHandler": { "type": "laborum officia adipisicing non", "name": "adipisicing dolore in eu" }, "font_size": 12, "created": "2017-02-05T12:56:51.354Z", "created_by": { "username": "cupidatat", "provenance": "dolore nulla eiusmod ea" }, "createdVersion": "dolore", "last_updated": "2001-12-10T13:51:50.667Z", "last_updated_by": { "username": "anim laboris tempor labore", "provenance": "cillum officia magna Duis" }, "lastUpdatedVersion": "officia", "tags": [ { "_id": "aE251cf4765DB26F5ffce9DD", "name": "occaecat commodo laboris ipsum Excepteur", "description": "ullamco fugiat" }, { "_id": "e130bE88e9aCdCf46B1167cF", "name": "sed aliquip Excepteur", "description": "est sunt nulla" }, { "_id": "b35f4AA33D552aBAbB6c35e4", "name": "Duis", "description": "tempor incididunt ut fugiat" }, { "_id": "7E14fCC4EAfEc899CE667ECF", "name": "eu Excepteur", "description": "esse ad dolore consectetur cillum" } ], "canvasVersion": 2, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/~0/B8axVzb/~0/~0/a6/89z5sgz0/~0/~1/Xxxh,2i6g/nUir3WBq/FWeLHA8Z5vk" } ], "migrationVersion": 22346694 }
{ "$ref": "workflowPayload" }