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": [
"49d4880680a3f760bb64c393",
"c0a68cd90799f8e2e668c6b1",
"2ae549e25a604211993db979",
"df050eef20f3cb504364aa8a"
],
"x": -35100369.95962547,
"y": 93780161.99040532
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"cf3209c259547ae7ef703ac8",
"6b8518c7da178156dc22b0e6",
"6e2fe3c4da3daa1715c3e28a",
"e28d15acea0bd55ecbb5a0c4"
],
"x": -31349203.964751646,
"y": -45994303.169392616
},
"error_handler": {
"name": "childJob",
"summary": "non culpa ad occaecat",
"description": "in",
"app": "fugiat qui minim officia nostrud",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/n-1E,BeueB/~1/~0/~1/~0/P/PQtyqx+8"
},
{
"type": "encryption",
"pointer": "/AL/~0/~0"
}
]
},
"groups": [
"bc1596e9537d0645c295c788",
"8c09ada21bec5f12b122efda",
"0359ea136f851fb657fedb1e",
"70610111010bb53fdcdd4fd8",
"7605a35d3e5c54fe5b027f14"
],
"x": 6545386.027722254,
"y": -67829539.16109431,
"type": "operation",
"gridCoordinate": {
"x": -75094658.5469265,
"y": 91913308.59176746
},
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"e0a4dd0cc920ed741bd673a0",
"1eaf43141edbb516ece7ef5b",
"ff58802462585fd9495c39fe"
],
"_id": "c5bdbbe0-c96b-e7aa-c15a-b501d3d28cb3",
"description": null,
"errorHandler": {
"type": "cillum velit nisi",
"name": "non elit"
},
"font_size": 12,
"created": "1949-01-02T14:08:02.397Z",
"created_by": "73724aa769f500e05ffb842f",
"createdVersion": "aute",
"last_updated": "1971-05-03T23:47:33.411Z",
"last_updated_by": "6425b9ba6bfeb45a04cdd97c",
"lastUpdatedVersion": "deserunt",
"tags": [
"adipisicing",
"aute dolor",
"deserunt",
"Ut"
],
"canvasVersion": 2,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/SWI4CuXKjd4/~0/~1/e,08EVyf"
},
{
"type": "encryption",
"pointer": "/~1/~1/FD/~1/TjJ/~1/YcSfiOb/niUgld/~1/~1"
},
{
"type": "encryption",
"pointer": "/MaGJw/~1/tXV/~1/q/kk/~1/~1/PN/aIsx/tj3eBt/~1"
},
{
"type": "encryption",
"pointer": "/y.X2X/CP3s-gWwhoi/~0/dxtQg5CadQu/zMCF/~1/z7wgept-/MldEO/Mg-"
},
{
"type": "encryption",
"pointer": "/~1/~1/Z4H"
}
]
},
"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": [
"a299cdcc9d82af9e8e79094d",
"e90609c12ccae69dbc64acc6"
],
"x": -5292251.652578324,
"y": -64165519.21964051
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"a0bd7b08f3f944b93e88139c"
],
"x": 772838.7389573902,
"y": -86929733.57014483
},
"error_handler": {
"name": "childJob",
"summary": "adipisicing",
"description": "incididunt est sint sunt ut",
"app": "dolor",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/S4x+m/Kxj/b/~0/rbNoSrgI7KC/ds+B/NSX/ONl/r/jxJKP/~0"
},
{
"type": "encryption",
"pointer": "/~0/h/~1/~0/~0/j/1fESXTN/to/FQ,+pYq/w.W/~1"
}
]
},
"groups": [
"09520ee3dbc3bfd14acfd452"
],
"x": -73717121.3776386,
"y": -47420293.4880239,
"type": "operation",
"gridCoordinate": {
"x": -55631965.15788435,
"y": -43760464.260993004
},
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"ad0665f1472b8ce6e7ea7f2c",
"1d30c3dd24e470dc90847f1a",
"151e9d3063ef4ae9cbc28a6f",
"2949c54de0a9ef3a51b8b0e6",
"318d6eb1c2bfbe2155aa6f88"
],
"_id": "e7ffdc34-ea2b-d884-db71-8c039d46290c",
"description": null,
"errorHandler": {
"type": "commodo",
"name": "sint eiusmod"
},
"font_size": 12,
"created": "1954-06-01T17:55:37.281Z",
"created_by": "a83784dfea224eed74a0c7d6",
"createdVersion": "minim Lorem cupidatat",
"last_updated": "2015-05-01T12:28:02.803Z",
"last_updated_by": "be846d67e7c2f9f16e705b60",
"lastUpdatedVersion": "ullamco proident dolor adipisicing sunt",
"tags": [
"pariatur laborum ex dolor",
"nisi proident ipsum Duis",
"commodo eiusmod ut labore non"
],
"canvasVersion": 1.5,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/NkWmGN5/zC80/~0/~1/Q/~0/~1/~0/FapqWjyPSfA"
},
{
"type": "encryption",
"pointer": "/WAA/~1/~0/~0/~0/~0"
},
{
"type": "encryption",
"pointer": "/X/Kz/d4bSx5/w02IbFc./wa3/ih/ABNIR/~0/JKshNzow,Z/~0/wa4O/~0"
},
{
"type": "encryption",
"pointer": "/yigh/A.D"
},
{
"type": "encryption",
"pointer": "/YiF/~1/Idt9P4m/~0/~1/yCxDPmJfSPD/~0"
}
]
}