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": -1757328.889316991,
"y": -53477961.292462915
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 51760353.06643847,
"y": 97520860.99219888
},
"error_handler": {
"name": "childJob",
"summary": "exercitation aute amet culpa",
"description": "cillum dolor ullamco",
"app": "labore eiusmod laborum",
"variables": {
"error": ""
},
"groups": [
"3ff3a83dc19d6303b369bef4",
"99663f9364850c32cf764aac",
"1ee867988c589c3aedfdb1fc"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"90187cbefefcccf910f46376"
],
"_id": "af6a7cee-33ea-ed81-453b-16e2c00cdeea",
"description": "nostrud adipisicing aute dolore",
"errorHandler": null,
"font_size": 12,
"created": "1992-03-01T20:17:53.355Z",
"created_by": "37d5615bfa9be29bed7ad085",
"createdVersion": "quis tempor ipsum nulla",
"last_updated": "1988-03-04T20:29:12.394Z",
"last_updated_by": "0cd41a4e0f9ff5cfa1905de7",
"lastUpdatedVersion": "quis occaecat",
"tags": [],
"canvasVersion": 1
},
"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": 95430281.65966412,
"y": -38101246.950113095
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 78220990.9775208,
"y": -52651676.28108918
},
"error_handler": {
"name": "childJob",
"summary": "laborum",
"description": "proident",
"app": "anim elit in deserunt",
"variables": {
"error": ""
},
"groups": [
"09fab994975144ce73b6fb74",
"961459ed1446e0a8bfd3f694"
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"37b3f56d538b65fabd410f3b",
"488346bc8e0ba3763d35eb0e",
"41b6ba3c348dd2e6dad7f155",
"bcaaac8e503b7684947585e7"
],
"_id": "0af43ab3-0498-f3bc-aceb-c52777156968",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1975-02-19T01:55:47.654Z",
"created_by": "f90fa8fd2fe8f1568d99f216",
"createdVersion": "pariatur do in",
"last_updated": "1997-12-15T22:53:28.794Z",
"last_updated_by": "ff2a5b16910a84c24203eb17",
"lastUpdatedVersion": "consequat exercitation ullamco ut incididunt",
"tags": [],
"canvasVersion": 1
}