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": 65166610.44837728,
"y": 72247731.56021947
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 37872020.71088478,
"y": -72508923.30702716
},
"error_handler": {
"name": "childJob",
"summary": "ex ut nisi",
"description": "enim proident reprehenderit",
"app": "adipisicing nisi",
"variables": {
"error": ""
},
"groups": [
"7d7cfae88f22335bd2bd8658",
"7e128ba609bfae84d78ca7ab",
"32a827003fa63bbbcc426b61",
"3da06f35dc8a84ea32cd46e2",
"576dee7c6a7e06ee6aa0de13"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"989a0252b9fa1c66160943c8",
"0d6b044385c56c3f34ea9d01",
"abc53b82890f847cf5c40e46",
"13cb0619028610e99c2a93d5"
],
"_id": "7bfee62b-dca1-8cd1-9845-d818af2ed5b2",
"description": "reprehenderit elit Lorem voluptate",
"errorHandler": null,
"font_size": 12,
"created": "1997-07-08T21:21:32.377Z",
"created_by": "21c4c2a57e5b293e89471313",
"createdVersion": "commodo do pariatur aliquip",
"last_updated": "1983-08-12T05:03:09.545Z",
"last_updated_by": "e5b935878e39cb28e446384d",
"lastUpdatedVersion": "veniam esse ullamco",
"tags": [],
"canvasVersion": 2
},
"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": 46302229.87924889,
"y": 99523884.00193319
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -86956645.48686759,
"y": 96540707.52991441
},
"error_handler": {
"name": "childJob",
"summary": "amet nulla culpa",
"description": "magna",
"app": "pariatur elit ullamco",
"variables": {
"error": ""
},
"groups": [
"2f12d5dc6ddd4719bedcd52c",
"813e6e11359d7f897181637d",
"78b3933bf957c753e0a78c5b",
"e97f372c0ad68f7b6cf723a6"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"a58cc9f976a4c3dfdc50f799",
"ee6c71171aea607695e60eaa",
"1e2aa5f88cca93d344f4b9ab"
],
"_id": "c1639100-514d-7909-c36f-1c8d56d5e983",
"description": "enim",
"errorHandler": {
"type": "ullamco",
"name": "laboris cupidatat laborum ullamco"
},
"font_size": 12,
"created": "2013-02-12T02:55:54.642Z",
"created_by": "0d3d0403754a2bdeea6f0a38",
"createdVersion": "eiusmod in nisi quis",
"last_updated": "1970-10-17T07:55:41.34Z",
"last_updated_by": "3042bda29eb70b386a5ff8e0",
"lastUpdatedVersion": "officia sed pariatur ut commodo",
"tags": [],
"canvasVersion": 2
}