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": "4321abcdef694aa79dae47ad", "name": "someWorkflowName", "type": "pariatur sit" } }
{ "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": "voluptate qui ea Lorem dolore", "provenance": "ex sint laboris" }, { "name": "in minim", "provenance": "nisi adipisicing pariatur tempor" }, { "name": "ad dolor", "provenance": "do amet laborum" }, { "name": "esse est nisi", "provenance": "laboris sunt velit proident id" } ], "x": 15859339.34598969, "y": -72991083.02850384 }, "workflow_end": { "name": "workflow_end", "summary": "workflow_end", "groups": [ { "name": "laboris in", "provenance": "dolor occaecat" }, { "name": "laborum adipisicing labore do", "provenance": "ex pariatur" }, { "name": "sed nostrud irure fugiat", "provenance": "tempor ipsum nostrud velit" }, { "name": "amet dolore irure est eu", "provenance": "ipsum" } ], "x": 58166173.063524485, "y": -67236264.92903922 }, "error_handler": { "name": "childJob", "summary": "dolore in consectetur proident pariatur", "description": "eu", "app": "nostrud sit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~1/Lz4+bhz-02" }, { "type": "encryption", "pointer": "/~1/HnVYn/k/kS8ta/PAMHoY0zd/~0" }, { "type": "encryption", "pointer": "/eKgAy/yhKq0lF/~0/vkta2Z,/spsGCd/z9C4/~1/o,5wzJLjl6/Y+/~1/~0/Tf" }, { "type": "encryption", "pointer": "/e0E/EBBv74M/EFWdEyoPbGn/~1/gcVS,R1RE/~0/aVv2K0tGo/BP.w3mOe3Co/bs84W.Z." }, { "type": "encryption", "pointer": "/~1/~1/l.Y9ZQcp/~1/~0" } ] }, "groups": [ { "name": "ut commodo non officia", "provenance": "ex officia labore nostrud magna" }, { "name": "ullamco culpa", "provenance": "irure" } ], "x": -28257840.997645408, "y": -31662336.911847383, "type": "operation", "gridCoordinate": { "x": 92851859.81351241, "y": -90339319.0172618 }, "deprecated": true, "scheduled": true } }, "transitions": {}, "groups": [ { "name": "mollit", "provenance": "cupidatat" } ], "_id": "17d5efdd-cde9-1a77-5580-8dfe155544b6", "description": "laborum culpa", "namespace": { "type": "project", "_id": "5cb5252a1bbc5a00def564c1", "name": "in cupidatat elit voluptate", "accessControl": { "read": [ "eu deserunt" ], "execute": [ "laborum", "reprehenderit eiusmod dolore quis", "ex pariatur sunt", "sint", "commodo aliquip sed" ], "write": [ "non laborum", "laborum consectetur elit", "consequat", "nostrud mollit occaecat laborum cupidatat", "Duis enim" ], "manage": [ "elit eiusmod non", "quis in aliquip sunt minim", "dolor Lorem sint incididunt amet", "nulla sint officia", "do velit ad anim esse" ] } }, "errorHandler": { "type": "velit sunt dolore Excepteur", "name": "ut culpa" }, "font_size": 12, "created": "2006-01-23T06:24:29.728Z", "created_by": { "username": "nulla aliquip deserunt proident elit", "provenance": "Duis sed nisi in" }, "createdVersion": "nostrud et", "last_updated": "1992-09-19T03:30:47.727Z", "last_updated_by": { "username": "laboris minim laborum", "provenance": "et id laboris" }, "lastUpdatedVersion": "laboris culpa veniam", "tags": [ { "_id": "D45EFCeD64118DbA1ba5B0ea", "name": "velit minim id Duis Lorem", "description": "et non consequat veniam" }, { "_id": "cbCa95EC7AF3Fa2DCccbc76E", "name": "aliquip labore", "description": "et nostrud ut deserunt do" } ], "canvasVersion": 1.5, "encodingVersion": 1, "decorators": [ { "type": "encryption", "pointer": "/Ek/~1/~1/~1/Gq2/~1" }, { "type": "encryption", "pointer": "/evfj/bV9i/~0/~0/sw8KuC/ztVNDRKkIC/~1" }, { "type": "encryption", "pointer": "/~0/A,AWQ/k9wd+qLc/z/wl/~1/q+QdN/VrHmRls6qgh/~0/iIc" }, { "type": "encryption", "pointer": "/QDfz8Cd,q/~1/~1/~1/~0/~1/n/~1/bMkmg" }, { "type": "encryption", "pointer": "/oLBK1/~0/~0/fgo6Ni+S/xS-6rSP./~0/Yo/MF/~0/XmZ8S/~1/~1" } ], "migrationVersion": 71763946 }
{ "$ref": "workflowPayload" }