Summary
Rename Workflow
Description
Rename a Workflow in the database
Route
POST /workflow_builder/workflows/rename
Roles
admin
engineering
support
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
workflow |
object |
yes |
Workflow's data. |
newName |
string |
yes |
New name for workflow |
Copied to Clipboard
{
"workflow": {
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": 55660162.86968511,
"y": -39357366.10947349
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 17815255.16095455,
"y": -24099541.828154042
},
"error_handler": {
"name": "childJob",
"summary": "dolor enim elit est sint",
"description": "voluptate pariatur Duis non eu",
"app": "reprehenderit Excepteur",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/SQ/~0/~1/uIO21/~1/Mw3Q+EtWKA/~0/vaTA+lgf5/Bnq46"
},
{
"type": "encryption",
"pointer": "/~1/~0/~0/ro0kbJ/~0/~0/~0/vrp46xaqq/eJUwxv+GFZ4/~1/QYhSo.mb"
},
{
"type": "encryption",
"pointer": "/~0/ivEL0CSyYji/U+-uu/BE,2EaYv/D/K4/~0/~0/~0/ybbkKbh3z"
},
{
"type": "encryption",
"pointer": "/~1/rX/SES+/BrbF9/W/~0/F3f/~0/~0/~0/emPQ0w"
},
{
"type": "encryption",
"pointer": "/sY/ZHyGav2mvQ/YXdMnzS51O/~1/~1/Jd/~1"
}
]
},
"groups": [
"3b3b307cbe24421e0e150b00",
"286461a87d3d3990b4b2ebd0",
"efa72d19ce8e89be85b9cc0e"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"18d0bcb3cdf3ca911cc9837e"
],
"_id": "0e3d874b-7256-54d1-6f27-136b06e8c785",
"description": "culpa quis in dolore magna",
"errorHandler": null,
"font_size": 12,
"created": "2008-09-23T22:30:21.91Z",
"created_by": "1b57790b2f9edd056ba4bd84",
"createdVersion": "ullamco do ipsum nisi",
"last_updated": "1993-06-18T20:27:32.164Z",
"last_updated_by": "9e83d31bdd12f10fcee6c0ac",
"lastUpdatedVersion": "sint incididunt ut",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/rbpRU8z/~0/zerISj1S8Ne/~0/~0/~0/~0/ui76xm/~0/~0"
},
{
"type": "encryption",
"pointer": "/~1/~0/~1/YUwXkc8r8dH/~1/~1/jKhbx-/ZmrFt/~1/e7NcU4."
},
{
"type": "encryption",
"pointer": "/~0/KW3TLwaZr9/~1/LcTo+J/~0/R3hZIUay-/~1"
},
{
"type": "encryption",
"pointer": "/~1/~0/mT/~0/tBMlMnVa"
},
{
"type": "encryption",
"pointer": "/L4kb/fVFVhKHunu/~0/~0/~0/~0/InA"
}
]
},
"newName": "New Workflow Name"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
data |
object |
The renamed Workflow with its data and ID. |
Copied to Clipboard
{
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": -57493903.34986697,
"y": 90416103.05060267
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -33156907.304666474,
"y": 14481036.16187182
},
"error_handler": {
"name": "childJob",
"summary": "esse minim in culpa",
"description": "magna nulla occaecat aliquip",
"app": "commodo ea",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/XhW3/0DWb8/~1/pHX1a-RDoY/~0/~0/g/~1/~0/~1/~1/~1"
},
{
"type": "encryption",
"pointer": "/~0/VzTmrSydSQ/XMOeHNLY.gq/G.-tvYqSuo,"
},
{
"type": "encryption",
"pointer": "/G+sVCUmBjAt"
}
]
},
"groups": [
"664c79078fa326dc1338eac3",
"4ced9fb160f637c9b7496266",
"a2d29c141294f169c9eced8e",
"86d05a173bde4e4331483bf3"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"2440887bb494a692ff976f1c",
"c1b723c9a22056b6cac857ea"
],
"_id": "6731988c-d75a-7afd-b869-ec644de5fb7a",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1973-06-02T04:50:30.128Z",
"created_by": "9015c3cc525891c1872e9a82",
"createdVersion": "anim pariatur",
"last_updated": "2010-03-17T02:17:43.795Z",
"last_updated_by": "ab77234366a97aaa7567cb28",
"lastUpdatedVersion": "tempor",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/lBrAA.rd/Chd-NX3a/~0/~1/~0/ZjH/~0/~1"
}
]
}