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": -99643587.26957472,
"y": 40794335.168905735
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -76743160.49171868,
"y": -62705447.00960339
},
"error_handler": {
"name": "childJob",
"summary": "magna ut officia consectetur",
"description": "sed aute nostrud",
"app": "ipsum",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/RJXqXIxM.v/~1/MD/va4aW"
},
{
"type": "encryption",
"pointer": "/Zb/~0/krVzKctv/Nk90tTtnH/~0/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0/Fk8L0v9K/TcLWp/f5P/A/~0/~0/~0/~0/~1"
},
{
"type": "encryption",
"pointer": "/vRdz13/~0/~1/~0/~1/Q/vQNjNYqxqM/L.FV4nD/uZ3DNz/ER,nwB.i4/zA-znqf"
},
{
"type": "encryption",
"pointer": "/~0/~0/~1/~1/cmMIqVN/MQ/~1/~1/~0"
}
]
},
"groups": [
"ba9bc7b7bba1a581ec09d554",
"029cb138cb573e256b5bf9b4"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"2eb589d7a4a8c3f522b49e35"
],
"_id": "01f7c310-bcef-f6e2-2458-b03fd4f3c6fd",
"description": "officia ea consectetur cupidatat",
"errorHandler": {
"type": "occaecat est elit sit qui",
"name": "Excepteur"
},
"font_size": 12,
"created": "2007-03-04T20:32:27.836Z",
"created_by": "2ad1de01e144a168788bc174",
"createdVersion": "Lorem",
"last_updated": "1950-04-13T21:11:14.184Z",
"last_updated_by": "a6665723f43951406de512a2",
"lastUpdatedVersion": "non Ut",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/yLg6mVae/i7/t8zo/rwKW/~1/~1/C."
},
{
"type": "encryption",
"pointer": "/~0/~0/~0/~0/~1/~0/B.qy/JZlP,"
},
{
"type": "encryption",
"pointer": "/alp0y3HGK/~0/~0/~1/~1/Syz"
},
{
"type": "encryption",
"pointer": "/~0/~0/N6LhnPNi/~1/~1/ax8si1eAM/~1"
},
{
"type": "encryption",
"pointer": "/k,rk2SkQRe/zKhZCO/~1/GU/~1/~1/JwrACarVe/~1/~0/~1/~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": -22698323.81740451,
"y": -27181449.090965956
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 14323185.723188207,
"y": 35112059.97792333
},
"error_handler": {
"name": "childJob",
"summary": "ullamco Ut officia anim",
"description": "ipsum",
"app": "ipsum fugiat nulla in Duis",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/cX3X/o,roe/~1"
},
{
"type": "encryption",
"pointer": "/~0/em/HwYX3pfn/Q0eL6v.X1/TAhp,k/~0/~0/DM49P/mp8tGS8mt/D0wJB/QxHNnCut+w"
},
{
"type": "encryption",
"pointer": "/piMZ5/~0"
},
{
"type": "encryption",
"pointer": "/Vxg.k"
}
]
},
"groups": [
"186e5ffc9445be78583909eb",
"dd9d8c519b9057481759d248",
"5bf3653d13f542b02edfc4e2"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"581514399a2121a988bc06bd"
],
"_id": "b83900ac-63c1-d235-379f-9f9471e2e10e",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1951-03-19T15:18:18.313Z",
"created_by": "1790270699b97a87f8868fd5",
"createdVersion": "quis non laboris",
"last_updated": "1950-02-05T00:58:34.733Z",
"last_updated_by": "053333637a079b59300567ce",
"lastUpdatedVersion": "enim incididunt",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/T1WSEG,/PxM1IjcdO3j/OWFL6hK/XEw/eLPLwqX"
},
{
"type": "encryption",
"pointer": "/xUgR/~0/~0"
},
{
"type": "encryption",
"pointer": "/~1/S2/~1/~0/~0/~1"
},
{
"type": "encryption",
"pointer": "/~0/~1/l/z/~1/qQ5Up/~0/I1WwPKG/F/Ha/,5Kg5Qx"
},
{
"type": "encryption",
"pointer": "/~0/~1/Qw.Xe0BQ/m,rFpE/~1/tQdv5-U0B/WSOc-U62h/U1n/~1/a4EAQJ6/~1"
}
]
}