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": 6865194.789512545,
"y": -30745935.932831436
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 52176191.89170691,
"y": 85442877.86150074
},
"error_handler": {
"name": "childJob",
"summary": "dolore proident elit",
"description": "laborum in do sunt",
"app": "minim",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/~0/c0Az+.lzpm"
}
]
},
"groups": [
"770549b95507ec4ac38e43cf"
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"9b9308b45649f86ea2c02ca0",
"8031383c7679d029347497ed",
"00ab7d568e93eb301b5e0a9a",
"4c1c03b9e1e40d4453224926",
"201a49bc43088e1068dd8c04"
],
"_id": "149c73e9-95b9-39cd-551c-8ee4aa6f32e7",
"description": "ipsum in aute laborum deserunt",
"errorHandler": null,
"font_size": 12,
"created": "1990-09-18T23:34:53.224Z",
"created_by": "dfc744a2203863689d91961c",
"createdVersion": "quis culpa consequat laboris fugiat",
"last_updated": "1968-07-06T10:46:52.546Z",
"last_updated_by": "5cdff82aead8c74b11d16eae",
"lastUpdatedVersion": "mollit et voluptate velit laborum",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/e5JgRrr1a78"
},
{
"type": "encryption",
"pointer": "/~0/MsL3h7/UZUrj+WUC4/Q+Q3.iwv2/~1/RMi/~1/Tv6TzlRYtR"
}
]
},
"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": 13380194.26971209,
"y": -92563076.80498135
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 89196956.95216677,
"y": -32733156.651062682
},
"error_handler": {
"name": "childJob",
"summary": "mollit deserunt minim",
"description": "voluptate exercitation",
"app": "qui",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/TreGB"
},
{
"type": "encryption",
"pointer": "/kbQF4o/Ozixh,c7q/~0"
}
]
},
"groups": [
"e811c81946c59f60d4b9bce2"
],
"type": "operation",
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"dad73fdb73888efd4241a152",
"1fa9032628f50c6214ffb37f",
"395f515ef010ce34c42d81cc",
"7153003eebd8a514a88ec6b2"
],
"_id": "570750de-b67c-9c8e-9242-c8f01a2a146e",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1951-01-03T07:27:42.453Z",
"created_by": "7d1bc27b230028e339875815",
"createdVersion": "Ut dolore Duis cillum",
"last_updated": "1987-03-26T02:24:39.59Z",
"last_updated_by": "fed1478c388af4989b38a928",
"lastUpdatedVersion": "in cupidatat eiusmod enim incididunt",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/yj5dD/FTV7hQ6knP,/xknr1N"
},
{
"type": "encryption",
"pointer": "/~1/~0/tkgYw7d3ru/~0/~1"
}
]
}