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": 28139167.1099267,
"y": -59891336.75779108
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 23062468.896975696,
"y": 30293613.798878387
},
"error_handler": {
"type": "operation",
"name": "childJob"
}
},
"transitions": {},
"groups": [
"0ba31df19e1292599af885d9",
"47c7814dbc40988f3a720742",
"ccc01c661ef42c984a8bf82f",
"23721cdad31b7c05720e6997"
],
"_id": "36ab5940-414a-25b1-1e17-344c068140c2",
"description": null,
"errorHandler": {
"type": "reprehenderit ipsum occaecat sit mollit",
"name": "labore et voluptate"
},
"font_size": 12,
"created": "1968-03-10T21:07:12.922Z",
"created_by": "32511f8dc6529083dd60b0d7",
"createdVersion": "est",
"last_updated": "1984-04-14T01:56:37.93Z",
"last_updated_by": "5a2c928a72c936feca917afd",
"lastUpdatedVersion": "amet",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/j/~0/PPOdH46VB3/hu/T2siFZcMY5/TDt"
},
{
"type": "encryption",
"pointer": "/~0/~0/TOPhza/qvv/~1/~1/KuDQmahTbL/OA/eSYx+ZYHBI/~1/fk4"
},
{
"type": "encryption",
"pointer": "/~1/cK-9bn/eLRMq,Jw/~0/~1/~0/Z0VjWU/OKfo8f,z/NVLeO/~0"
}
]
},
"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": 5593643.519284487,
"y": -96656769.28361617
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 12307327.324130222,
"y": 22804756.552067846
},
"error_handler": {
"type": "operation",
"name": "childJob"
}
},
"transitions": {},
"groups": [
"22b4f60a8c38feba0f949c68",
"531e164c69962b9ef5cae99b",
"74c57a4ce56d3d9d1bead79f",
"8f2c4b163bd50f346072215f"
],
"_id": "ca044762-33f6-0286-2d7b-2d086cdbabde",
"description": "eu veniam commodo",
"errorHandler": null,
"font_size": 12,
"created": "1999-06-24T07:06:48.412Z",
"created_by": "9b7371944889cc4b611994c6",
"createdVersion": "et nostrud dolor Lorem amet",
"last_updated": "2015-09-22T08:01:30.489Z",
"last_updated_by": "ccc05a6aacdda7cad2e53f2c",
"lastUpdatedVersion": "incididunt ex occaecat magna",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1/uFUqGZk/~1/~0/S/~1/OQe/QMyc9Z/~1"
},
{
"type": "encryption",
"pointer": "/~0/~1/~0/~1/r/~1/~1/a2c/fm9y5-/AK/voREx6Kzl9F"
},
{
"type": "encryption",
"pointer": "/Cr./uIY6,Mw5Tw-/~1/~0/hBElvBxgg/~1/~1/~1/~1"
},
{
"type": "encryption",
"pointer": "/BIq-/~1/~1/~1/~0/f3L/~1/~1/~1/~1"
}
]
}