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": -49806260.05788711,
"y": -45169801.711582206
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -30612715.706299692,
"y": -82454059.85483254
},
"error_handler": {
"name": "childJob",
"summary": "nostrud voluptate dolore nulla magna",
"description": "voluptate deserunt",
"app": "cillum quis",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/xGSO7zj/k7UEnX/aLLi0fs0/~1"
},
{
"type": "encryption",
"pointer": "/i/9t5VeFjM/CVJ/kfJ/FcILkdd/~1/L/sisri6Cesf"
},
{
"type": "encryption",
"pointer": "/~1/~0/joiynh.UB/~0/~1/~0/~1"
},
{
"type": "encryption",
"pointer": "/~0/~1/xG"
},
{
"type": "encryption",
"pointer": "/~0/lYosd/~1"
}
]
},
"groups": [
"ad7c73fe0aecc910e7137e47",
"f8d7f2359ac9b71595ce02f5"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"0c68e0271170f233f2ced00d",
"18f68b28422e5d6974e9fb83",
"2bb44a7a95720f7c43203c95"
],
"_id": "f1895e56-0a02-fe83-76d2-5e9775355178",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1996-12-16T14:00:16.68Z",
"created_by": "e1028558d0049f02813fa023",
"createdVersion": "consectetur",
"last_updated": "2001-10-16T18:45:57.217Z",
"last_updated_by": "a02dfb7078f31dc9416e2c23",
"lastUpdatedVersion": "sunt pariatur ea irure labore",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1"
},
{
"type": "encryption",
"pointer": "/XjA.Bc2Kmpt/F4Cq+rDIPa/EGsaCY/f6k/~0/H0iRQwp/gAAr/bVG"
}
]
},
"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": -52173910.47151474,
"y": -10878208.582328737
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -60502870.1521316,
"y": -50595464.952614
},
"error_handler": {
"name": "childJob",
"summary": "aute nostrud",
"description": "aliqua",
"app": "aute",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/hi3N6YF,M/R,-uEIRpH/~1/~0/~0/~0/~0/dOxuDwQgA/IE6/Vk/dA"
},
{
"type": "encryption",
"pointer": "/E24b4O/aaFB85TC6O/m/~0"
},
{
"type": "encryption",
"pointer": "/~1/~1/R/~0/ThQ"
},
{
"type": "encryption",
"pointer": "/~0/~0/~1/~0/~1/oWysie//~1/~0/~0/~1/rI6r2EXmOhI"
},
{
"type": "encryption",
"pointer": "/yaD"
}
]
},
"groups": [
"22fb340034ef256a4426427f",
"226911379dfb9db2131dfe89",
"36f4e2239abedf27a09559bb",
"ac2b8c81a066e0b866e17cf7",
"6065efa18439551887810bd9"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"b8b0ec70bc8119b769a1e280",
"ada45d18ee65a6e11bdc6542",
"8571999247c4b666366bcef9"
],
"_id": "baccee82-1626-cedd-0a20-6691966d94b4",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1974-04-22T13:57:26.633Z",
"created_by": "36062832b32df02f9d06c6a2",
"createdVersion": "cillum eiusmod id ut",
"last_updated": "1947-08-30T10:52:35.731Z",
"last_updated_by": "f2d5f2b351206c02f9489ab5",
"lastUpdatedVersion": "et deserunt id",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/h/WS/~1/~1/~1"
},
{
"type": "encryption",
"pointer": "/~0/~0/~0/oZ"
},
{
"type": "encryption",
"pointer": "/~1/puY/DfaaPCt8C/~0/~0/wgVbuI292h/SN/d,/i+Lq/38q/~1/~1"
}
]
}