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": -97342577.11722751,
"y": 23793315.01013358
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -19769070.810686395,
"y": -78297574.1564019
},
"error_handler": {
"type": "operation",
"name": "childJob"
}
},
"transitions": {},
"groups": [
"71a0fd867fb803dce5479141",
"27ec485206ac92c4cc20727d"
],
"_id": "bf0112ae-5544-21fe-7ce0-fde1618c428e",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1980-03-29T06:11:07.926Z",
"created_by": "dc5ba2ccbcc24f67c7b31a88",
"createdVersion": "in cupidatat minim ex",
"last_updated": "1942-03-01T14:34:56.67Z",
"last_updated_by": "8eaa44d9d4f7bcb7b435c51c",
"lastUpdatedVersion": "adipisicing fugiat incididunt sint",
"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": -59288382.44962407,
"y": -11421261.428534597
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 71544640.3807818,
"y": -24741494.99262461
},
"error_handler": {
"type": "operation",
"name": "childJob"
}
},
"transitions": {},
"groups": [
"d9010d336c30658f6c8f11f4",
"92a5508dcec0e8603a965da7",
"11a3f803661ec8876bfe9f8b",
"1f3033a570881b910876ecbf",
"ea8b28d38d325a61a77c433f"
],
"_id": "7fa4519f-6cdd-a2e4-f893-54501b8386bf",
"description": null,
"errorHandler": {
"type": "Duis aliquip fugiat eu non",
"name": "consequat"
},
"font_size": 12,
"created": "1985-03-17T06:27:11.835Z",
"created_by": "2da6a31abd634e523d06a207",
"createdVersion": "cupidatat do eu",
"last_updated": "1953-04-11T18:06:46.496Z",
"last_updated_by": "00d8991005c27980d8d6706c",
"lastUpdatedVersion": "in ullamco adipisicing deserunt",
"tags": [],
"canvasVersion": 1
}