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": 83275817.22555813,
"y": 96124777.68449306
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 38585831.278441906,
"y": 72667328.46328151
},
"error_handler": {
"name": "childJob",
"summary": "nisi Duis exercitation Ut",
"description": "exercitation dolore",
"app": "fugiat veniam proident quis labore",
"variables": {
"error": ""
},
"groups": [
"90c55214c4ce6103b5899492"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"893184891c5f05e0b97e46f8"
],
"_id": "eca79fe7-36c6-8a84-51a4-0b6b7da33e1e",
"description": "in",
"errorHandler": {
"type": "sint",
"name": "quis"
},
"font_size": 12,
"created": "1955-02-03T16:26:30.576Z",
"created_by": "a828c7b8632d77714ee8eaca",
"createdVersion": "in esse est",
"last_updated": "1988-01-25T17:18:46.434Z",
"last_updated_by": "a60cca69566e046fcd2cd3ed",
"lastUpdatedVersion": "sunt",
"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": -87837347.4607327,
"y": -30649067.861149207
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -63953663.31875723,
"y": 5037203.824319065
},
"error_handler": {
"name": "childJob",
"summary": "adipisicing",
"description": "dolore id",
"app": "non qui dolore minim",
"variables": {
"error": ""
},
"groups": [
"595a22a18c496f994c750ea5",
"acfb86b5f8d22293ea525c47"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"ccc3219ad7bb83936057c263"
],
"_id": "4291d0a2-a3d5-6fd8-d662-857769f599c1",
"description": "laborum consectetur ut",
"errorHandler": {
"type": "dolor consequat",
"name": "ut consectetur culpa"
},
"font_size": 12,
"created": "2011-10-25T00:28:46.995Z",
"created_by": "1f188e3e56cebcb37248a1ec",
"createdVersion": "sit anim id Excepteur",
"last_updated": "2005-04-09T22:11:04.251Z",
"last_updated_by": "6ef0229346344b59f574f554",
"lastUpdatedVersion": "occaecat irure ex non",
"tags": [],
"canvasVersion": 2
}