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": [
"5e3eb41573ff841da3498f89",
"14508eb9623becb68c80597a"
],
"x": 12497725.784232289,
"y": -53676000.872441776
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"a1868d29f3d241c0c29e1b0a",
"af74f1145bc84a4636c0fd44"
],
"x": 85267822.70128751,
"y": 28440785.864795744
},
"error_handler": {
"name": "childJob",
"summary": "anim aliqua labore",
"description": "et in",
"app": "eiusmod consectetur",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1/~1/qMDJNC/+/~0/SV/h8xp5/~1"
},
{
"type": "encryption",
"pointer": "/w594AuF/O5q1u+vnEzZ/R1R"
},
{
"type": "encryption",
"pointer": "/Wbe/nJUQ/~1/swVY2Wy/EMt0,KqZ.x/aUmS5H8g2e/A4hVWrZ/W+0./~0/~1"
}
]
},
"groups": [
"15ea0c807a2b0733a40fcb9a"
],
"x": 66875020.755304426,
"y": 769938.620115295,
"type": "operation",
"gridCoordinate": {
"x": 67408535.61427057,
"y": 71970872.68197232
},
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"fc40e2eee8fc90833a49f262",
"fe66606072b5e9967773c56c",
"eb12bf3b1ffb2ac008ab9c65"
],
"_id": "83676be7-ac11-79af-7e89-cd8d566733be",
"description": null,
"namespace": null,
"errorHandler": null,
"font_size": 12,
"created": "1954-01-15T19:02:46.908Z",
"created_by": "1ed22a44dc956cfb4f7b7911",
"createdVersion": "eu et",
"last_updated": "2016-11-13T19:37:28.388Z",
"last_updated_by": "cb6cc6cf5d882aab480e5ae5",
"lastUpdatedVersion": "in",
"tags": [
"adipisicing sunt aliqua veniam velit"
],
"canvasVersion": 1,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/SlxTLHy72aN/Ri7tv/~0/~0/~1"
},
{
"type": "encryption",
"pointer": "/~1"
},
{
"type": "encryption",
"pointer": "/l/pS60T28/~0/s37SCqy/~1/~1"
},
{
"type": "encryption",
"pointer": "/WUn/~0/qr1sQHDx/Q/~0/B8YV53,LgBh/v/~1"
},
{
"type": "encryption",
"pointer": "/~1/~1/DwQzzPoOG"
}
]
},
"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": [
"0591cced8f43c14bede6df25",
"83e1584e4fb0b2e9aa6ca3dc",
"a3d9da859715ebecfc4ac4aa"
],
"x": -74612471.43181393,
"y": 12546185.818699047
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"60c6c49559a8acd265a9f17f",
"f68b043893686be04265b090"
],
"x": -38442775.93796823,
"y": -6579170.877963275
},
"error_handler": {
"name": "childJob",
"summary": "nisi dolore nulla",
"description": "culpa mollit laboris ut",
"app": "veniam dolor est fugiat Ut",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0/~1/Z/EbSfk95iK/~0"
},
{
"type": "encryption",
"pointer": "/~1/~1/~0/~0/~1/d5/~1/ND/~0/E"
},
{
"type": "encryption",
"pointer": "/lF-UJIztis/W8.1fdZa/hF/Sy-/~0"
}
]
},
"groups": [
"a480d2f7c74929f2f2aab1e0",
"86d6671ca22d71cadea59cad"
],
"x": 59254686.08854908,
"y": 22925703.31370309,
"type": "operation",
"gridCoordinate": {
"x": -89708454.74231175,
"y": -87275808.06432398
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"a1b67b540fe5f68de61e5f0b",
"f09f0a59902ea59ab1feccbf",
"4f232ac6ba54fcef973b0b41",
"9426f373cbbc6adc2ebc38b1"
],
"_id": "6918fc91-5f58-21d4-b790-b7880172d35f",
"description": "sed quis consequat ut id",
"namespace": {
"type": "project",
"_id": "5cb5252a1bbc5a00def564c1",
"name": "Excepteur tempor",
"accessControl": {
"read": [
"nostrud ipsum Excepteur irure",
"in laboris laborum do culpa",
"magna voluptate do esse",
"in aute laborum velit"
],
"execute": [
"Lorem",
"in"
],
"write": [
"eu",
"ullamco"
],
"manage": [
"exercitation",
"Lorem consequat voluptate"
]
}
},
"errorHandler": {
"type": "Duis sit non pariatur labore",
"name": "nisi cupidatat aliqua aliquip est"
},
"font_size": 12,
"created": "1959-06-11T23:01:10.724Z",
"created_by": "65c33a4b4adbede7b612a7a6",
"createdVersion": "ut deserunt",
"last_updated": "1965-11-27T03:21:12.725Z",
"last_updated_by": "947c4e841e415fbb5b546c5a",
"lastUpdatedVersion": "minim adipisicing Ut dolor",
"tags": [
"velit in sit enim",
"ullamco in pariatur"
],
"canvasVersion": 2,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/C5vJ/~1/~1/iotS/~1"
},
{
"type": "encryption",
"pointer": "/gEwdvN2j4/FUm4/~1/~1/~0/fkb/r24+/~1/~1/DG9bOi"
}
]
}