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": -7011656.027379587,
"y": 69925584.23151508
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -28570142.556508094,
"y": -10865484.563255206
},
"error_handler": {
"name": "childJob",
"summary": "sit officia sint quis ut",
"description": "sunt cupidatat veniam eu aute",
"app": "commodo consectetur cupidatat dolore tempor",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/rMyg/J/fg/pJ8Fkv-4/B/SEhHTf8QkN/sI6RPpz/U,hxJhTy6R/U/mYCDn/~1"
},
{
"type": "encryption",
"pointer": "/J8jsYX/~0/~0/ubsR3/XRM"
},
{
"type": "encryption",
"pointer": "/~1/swB,oE4/i2Fw4f-i7/~1/~0/~0/Z1nZBQ/x/~0"
},
{
"type": "encryption",
"pointer": "/B/~1/~1/kq+m,nLs8WP/H1J1DEX"
},
{
"type": "encryption",
"pointer": "/~0/DDF"
}
]
},
"groups": [
"5c51c8ccb5c336a25840ea14",
"addcf0089067649d173dd593",
"e584d9f88bc08d22f60aba88"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"a77eb6616131bb9974413160"
],
"_id": "2f8a9d9d-1539-08a2-72a9-3902b636f7b1",
"description": "tempor aliquip ipsum labore",
"errorHandler": {
"type": "nostrud qui",
"name": "dolor eu deserunt"
},
"font_size": 12,
"created": "1954-04-06T05:37:58.082Z",
"created_by": "b12963f7aee7eb785a49c750",
"createdVersion": "officia voluptate",
"last_updated": "2010-05-10T01:13:48.67Z",
"last_updated_by": "5ecb8d5f860c071193df2748",
"lastUpdatedVersion": "cillum ad dolore aliqua anim",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/m/hMyU3/n681/svx/~1/~0/~0/~1/~1/uvQYu6+sw/~1"
}
]
},
"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": -19394311.140055448,
"y": -55973416.59163262
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -82174397.34660639,
"y": -12800242.230746582
},
"error_handler": {
"name": "childJob",
"summary": "est ut Lorem magna ut",
"description": "enim incididunt aliquip Lorem est",
"app": "deserunt quis anim ullamco",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0/~0/Ov.BNpvYAea/~1/Bm/~0/~1/~0/~0/~1"
},
{
"type": "encryption",
"pointer": "/a/gw34gZG/a9A8BlXO98/LqBuj/o.d8Ep."
},
{
"type": "encryption",
"pointer": "/~0/QmiC/vq/wDty/sSUzs,pW5"
},
{
"type": "encryption",
"pointer": "/~1/~0"
}
]
},
"groups": [
"7704874574b1ff1fecd25b9e"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"bcf57435ced8d14211c7daa1"
],
"_id": "f4c6479b-a5d2-256b-26d4-4ef6dc60bbe5",
"description": "consequat dolor laborum ut sint",
"errorHandler": {
"type": "Lorem sed culpa",
"name": "reprehenderit exercitation aliquip"
},
"font_size": 12,
"created": "2006-11-21T16:36:22.206Z",
"created_by": "b0c464c01955d8b8bb951468",
"createdVersion": "ullamco",
"last_updated": "1962-09-11T04:35:33.225Z",
"last_updated_by": "c9352e9f862403d62b1d325a",
"lastUpdatedVersion": "sunt eu",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/iS/YA2hP/FlyCJ,3/m-/~1"
},
{
"type": "encryption",
"pointer": "/Kxt/pVQ/~1"
}
]
}