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": 41334504.53192076,
"y": -71630394.98374797
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -49529862.03495091,
"y": -51221351.383375734
},
"error_handler": {
"name": "childJob",
"summary": "tempor cillum",
"description": "Lorem dolore est eiusmod",
"app": "minim laboris occaecat quis in",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/wjiSEL/~1/y6"
},
{
"type": "encryption",
"pointer": "/Sf/F,wRWW//QFMO/~0/~0/jTUGp/VKp5iVKWL/~0/a7pv+hW"
},
{
"type": "encryption",
"pointer": "/E/~1/~1/zhMIq9RrnV/mQr6BI/mXumQXpEW5I/~0/~0"
}
]
},
"groups": [
"40348c103419dca5a1cc5a0c",
"c5e74a60784e6fb4da082d38",
"d5d00d47cff8a076142d9b07",
"603e20fec8296365678f4073",
"88c22e9f20d2c3660e741637"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"ce096933db2b2b1836ff4280"
],
"_id": "9381d0bd-e694-3819-144c-32b3c828fd4b",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1947-10-17T05:14:38.027Z",
"created_by": "9841884e599a73640f914b99",
"createdVersion": "dolor",
"last_updated": "2016-09-30T16:24:11.439Z",
"last_updated_by": "adffefbf53fd2ac09799f825",
"lastUpdatedVersion": "occaecat aliqua id",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/co5tkXR52/Cqoyu6LhNZD"
},
{
"type": "encryption",
"pointer": "/~1/N/~0/~1/~1/MENEbSL-Fy8/~0/~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": 32499264.48634848,
"y": -46978449.326220505
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -27695630.937215656,
"y": 76211692.61896378
},
"error_handler": {
"name": "childJob",
"summary": "consectetur ullamco in",
"description": "dolore",
"app": "ut Duis incididunt occaecat",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/ndiCEmSzlo"
}
]
},
"groups": [
"a1c8eb4ae9277b6c45cfa168",
"38efed5986ea22625ba4d548",
"4a3359fbfce9ea7b1223b9b7"
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"da8d0dfa19d63cb95ccbbc13"
],
"_id": "e4feb302-2c4e-3f3d-ac1b-05ede7a90d21",
"description": null,
"errorHandler": {
"type": "consequat",
"name": "laboris eu"
},
"font_size": 12,
"created": "1997-09-18T08:32:59.899Z",
"created_by": "5a4d3c25baddf106d0b31e33",
"createdVersion": "culpa",
"last_updated": "1983-03-14T16:55:22.888Z",
"last_updated_by": "1cfe1a775f3aaf7e2ab08ed2",
"lastUpdatedVersion": "Duis in eiusmod id consequat",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/B1iczq4Z/i/~0/~1"
},
{
"type": "encryption",
"pointer": "/I4X"
},
{
"type": "encryption",
"pointer": "/~1/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0/~1/~1/~1/~0/F/TrCaI"
},
{
"type": "encryption",
"pointer": "/tO/~0/Er3MIu.g/kLub84XcF"
}
]
}