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": 13421966.350060761,
"y": -6920388.430670917
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 66340953.43955061,
"y": -63758030.456484735
},
"error_handler": {
"name": "childJob",
"summary": "nisi dolor minim aute",
"description": "occaecat ut veniam",
"app": "nulla nisi ullamco",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/Q3-7O5SGE/~1"
},
{
"type": "encryption",
"pointer": "/WGluySfw"
},
{
"type": "encryption",
"pointer": "/~1/~1"
}
]
},
"groups": [
"efbb1b08f0d65966e9980517",
"bb3339d8464325ccac02f646",
"bcf2e3a8b551642397eac641",
"4600319df973b68d1bfad527",
"0a8e0dd54519629637463521"
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"7a101b124cf276685d3e819f",
"274a5a40ae320bb3eb80f165"
],
"_id": "06932a2a-4bff-9205-9cb0-b6c464912c46",
"description": "sit voluptate ipsum officia ut",
"errorHandler": {
"type": "incididunt quis voluptate anim",
"name": "dolor"
},
"font_size": 12,
"created": "1983-04-16T16:25:36.199Z",
"created_by": "737a4ef19e116b9c21948e1a",
"createdVersion": "labore ad laborum",
"last_updated": "1985-01-11T21:01:03.729Z",
"last_updated_by": "93653294c02a0d964e1e2d83",
"lastUpdatedVersion": "fugiat exercitation aliqua ut",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/hOs0/~1/fgT6-hg/~1/~0/~0/DO/~0/PT"
}
]
},
"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": -90865841.4271204,
"y": -63131717.92580427
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -17201911.794159397,
"y": -77870872.04685639
},
"error_handler": {
"name": "childJob",
"summary": "enim anim sed",
"description": "deserunt",
"app": "dolor sit deserunt ut",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/~0/NIs+mx09/~1/Q./~0"
},
{
"type": "encryption",
"pointer": "/~0/RMG/~0/~0/DS/~1/T,pwmRMF86A/t347iWVk4"
},
{
"type": "encryption",
"pointer": "/o.wVc5,4/KSwGXoX"
}
]
},
"groups": [
"81f82ce9360d7e5b2885fd1f",
"13383c4018856298ef812ac7",
"dfdccef6e83689f0853894da"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"51acbc956f3e14b95fe07406",
"10d373383c3992539f7e6a8b",
"55e644aff404b142eb1aabe5",
"325f0afb6ac49e9fb72f5ecb",
"ad8eac0c392af1408ba8d2e1"
],
"_id": "f30963e4-7a32-b68d-3d34-4a94f5005cac",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1953-04-26T23:14:53.516Z",
"created_by": "52ddc44f46c43892aeadc5a1",
"createdVersion": "minim mollit",
"last_updated": "2009-08-14T13:21:38.027Z",
"last_updated_by": "fb8fc6aec9cd1ea31cad7ba0",
"lastUpdatedVersion": "consectetur nostrud et fugiat",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/WmwRUf/gdxj/~1/LoB+8eGkOZ3/~1"
},
{
"type": "encryption",
"pointer": "/mSdXJ8N/~0/~0/~1/~1/~0/VxxAVw"
},
{
"type": "encryption",
"pointer": "/~1/~0/xQSCDzHM+/WXNPChm-3/~0/zn/mrd/OgDLPXmq/~1"
},
{
"type": "encryption",
"pointer": "/YuTGKVJL/Rr,Zo8Igdn/im"
},
{
"type": "encryption",
"pointer": "/REDuL/XMb6ShHHzu/~0/n/r7GvXiL8c/O2AerVe/I+vio70p"
}
]
}