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": 47188056.4079656,
"y": -14694482.252905905
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 38956022.05068767,
"y": 40915978.04378298
},
"error_handler": {
"name": "childJob",
"summary": "amet voluptate",
"description": "ut sit",
"app": "cillum in ut",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/~0/~1"
},
{
"type": "encryption",
"pointer": "/UAeJQ/GyLGxAMKf/~0/~0/~0/~0/HSuKqVxgyS/zhPIlsa/g5xJ/VPzD3ysvG"
},
{
"type": "encryption",
"pointer": "/n/~1/~1/~0/Bns7zr/D3pyzI/~0/j4/~0/Qu"
}
]
},
"groups": [
"d8015ed4fe350067d9cf15d1",
"cd4371309f40b596046aee7e"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"4e019b7ab9a1de738a2cdba5",
"d18eab38e92f00bbc855939b",
"f03e057aa439f5f3f0e986ce"
],
"_id": "2c4c52b5-e70f-ef6d-4f95-edbebf51e52a",
"description": "culpa",
"errorHandler": {
"type": "commodo elit anim dolor officia",
"name": "cillum do"
},
"font_size": 12,
"created": "2021-07-09T00:10:03.395Z",
"created_by": "e319e7940840028d99c93c4a",
"createdVersion": "aute",
"last_updated": "1976-09-01T01:11:16.829Z",
"last_updated_by": "1a225eb3f6ca8faef740193e",
"lastUpdatedVersion": "reprehenderit sint sit dolore eu",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/munehk"
}
]
},
"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": 85125364.92442364,
"y": -80844221.48032245
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 48848479.52431014,
"y": 46709038.57708275
},
"error_handler": {
"name": "childJob",
"summary": "commodo proident ea Ut",
"description": "sunt",
"app": "ipsum dolor ex",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/OFttsJbj9/~0/RaXr/~0/KY-ODSPKZ"
},
{
"type": "encryption",
"pointer": "/~0/~0/Q/Mx/yEW/FT0dFPQzmO/~1/~1/~0/yDuN/se9nYXcH7ZS"
}
]
},
"groups": [
"9f904f42680956aff49cc571"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"bd69cd31de517298ac9b7c02",
"e4190328b976652f9dc382d8"
],
"_id": "5912bf00-6458-05c4-117b-c468bec159d5",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "2013-08-23T04:01:32.664Z",
"created_by": "da03c6a5f9f084d0dd8a89cb",
"createdVersion": "sunt in",
"last_updated": "1964-05-17T14:10:28.654Z",
"last_updated_by": "a3da2ada084e0c0b7a239462",
"lastUpdatedVersion": "pariatur ad dolore",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/B4T2gX2/q/~1/BXaSl0"
},
{
"type": "encryption",
"pointer": "/~0/~1/~1"
},
{
"type": "encryption",
"pointer": "/~1/~0/ew85/~1/~0/~0"
}
]
}