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": 15915363.261233747,
"y": -49414267.980090365
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 44689794.212881655,
"y": -54641834.70110853
},
"error_handler": {
"name": "childJob",
"summary": "ea fugiat",
"description": "Lorem enim do",
"app": "esse",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/Fizi.tqELzK/mGKym"
},
{
"type": "encryption",
"pointer": "/H/mAKqtta5Ed9"
},
{
"type": "encryption",
"pointer": "/~0/~1/~1/Yrw/VMlyGw/~1/~0/BpzdIP/rFsk"
}
]
},
"groups": [
"c963b512502a772bc9a5a50c",
"12a01878f7e008568e00dcd3",
"5158f7aa1045a8d8793370eb",
"4f08bbed781feb22a8dad39d",
"eb10165318460d4b5a369c14"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"9965af3db627001a2115050b"
],
"_id": "76e1f020-813c-9a3b-b759-9dfbbee7b84c",
"description": "do",
"errorHandler": {
"type": "dolor laboris laborum dolore veniam",
"name": "qui ad in Excepteur proident"
},
"font_size": 12,
"created": "2005-12-25T14:55:10.819Z",
"created_by": "3c4d09854f037676d704dfea",
"createdVersion": "proident",
"last_updated": "1989-10-15T14:49:08.861Z",
"last_updated_by": "aeae77f1cd9256df01b72688",
"lastUpdatedVersion": "mollit occaecat id nisi veniam",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/t2I/~0/~0/Pr/7fx/b1/~0/~1/iyO/cW4M/~1/tgu"
},
{
"type": "encryption",
"pointer": "/~0/~0/~1"
},
{
"type": "encryption",
"pointer": "/L/Z7TDoMsJ/~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": 45635579.00203809,
"y": 26575106.68729554
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -58145589.68536421,
"y": 39403710.81779754
},
"error_handler": {
"name": "childJob",
"summary": "pariatur velit",
"description": "sunt nisi ad aliquip",
"app": "elit ad",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1"
},
{
"type": "encryption",
"pointer": "/opxpa/~1/f/~1/zJMpqsr/~0/bvh0Ye"
},
{
"type": "encryption",
"pointer": "/~1"
}
]
},
"groups": [
"a47471bf58363d1198675e2c",
"49a97529fe87fd81637e6f8a",
"9e978bb353f77eea0ad4ac84",
"5480150f031f0f27eb008f0c"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"f4c3f7217628f929890f7ca2",
"98e0819c41659a0861905c14",
"03c52e057629cde5f1088834",
"f99dd2d7735dddf387a99ac8",
"12731ed15ee4d8f004e5e435"
],
"_id": "6c0c1d09-f96c-14fd-9e54-34cf3df30946",
"description": "sed",
"errorHandler": null,
"font_size": 12,
"created": "1978-03-11T18:46:00.943Z",
"created_by": "86887c4dc0e48cb8f4205c9a",
"createdVersion": "ea sed ipsum Excepteur anim",
"last_updated": "2019-02-26T19:45:33.795Z",
"last_updated_by": "bb2271adfc0a80089e4e0d5b",
"lastUpdatedVersion": "laborum officia nulla Ut",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/es/~0/~0/vV/E6hBQ-f/a2vcLY/~0/ff/~0/V6roOfGAZC4/W"
}
]
}