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": -24371372.571883038,
"y": -69251999.79276058
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 54110965.34924865,
"y": 53032074.375537574
},
"error_handler": {
"name": "childJob",
"summary": "incididunt culpa nostrud qui consectetur",
"description": "cillum pariatur nisi",
"app": "irure pariatur",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/O6Du2FT/F5u6/Gtabp6wt/x.eDQTmX.M/~0/n8WwmgP/NN1M8/oQ/LO.c/H/~0/~1"
},
{
"type": "encryption",
"pointer": "/tCfrt/~0/Ey33uTQSX/~1/g9GbgpL"
},
{
"type": "encryption",
"pointer": "/r"
},
{
"type": "encryption",
"pointer": "/~0/heQZbdDQ/~1/Cbm5Tk.38w/~0/pyqn1hNj/GK/x8zWLBVJ/Jw9ZnRodn/NnnRmYMr/j0Ap3d3aM"
}
]
},
"groups": [
"09b03ebd4d6b6122ec207466",
"75676307a97e5d4de765d07d",
"ee39022e521af3f11835ff9e",
"47068fff6f39dc1b04fc4a4f"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"5f7aae27aadc695b1c911a29",
"c1116f143b576529313964cd",
"db5068c21fc35a53e86de556",
"1771c054138ffddb59aff83b"
],
"_id": "e20395a9-ad4d-6958-b15b-9b883b34ac0a",
"description": null,
"errorHandler": {
"type": "Excepteur Lorem nulla",
"name": "nulla"
},
"font_size": 12,
"created": "1949-11-24T04:00:41.84Z",
"created_by": "dd1399046f86396a4de5bc21",
"createdVersion": "in culpa sed",
"last_updated": "1990-03-01T12:26:25.442Z",
"last_updated_by": "04f5b8954d85a2972980621e",
"lastUpdatedVersion": "est ad in aliquip non",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/D,X1P,mW4/BTq/J6p1/W/~0/OJE/~1/rugq2xB/~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": -75065025.24252877,
"y": -26215230.46407841
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -49353544.48454374,
"y": 12035622.644195646
},
"error_handler": {
"name": "childJob",
"summary": "irure reprehenderit laborum",
"description": "exercitation est",
"app": "ex",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/npTlK1J1IR/O8/~1/~0/NkUu2iX5a/NZhV/P"
},
{
"type": "encryption",
"pointer": "/~0/~1/w4wN6L/~0/~1/~1/b,-2.k27Za/~1/~1"
},
{
"type": "encryption",
"pointer": "/MqPCNps0Jg/~0/Kh0JnQ/~1/~1/WQl.4clP49./~1/~1/~0/g9FnE1U+/~0"
}
]
},
"groups": [
"b37bd7bc7f2be9fae2a1dfcf",
"6b9a7b49aab5d04c6f535ea7",
"5447f745486df58cfec16ea1"
],
"type": "operation",
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"e59d694c6957926cee9da389",
"87b427f82b3827c109bd3c81",
"7f4cd56386f34f585fda69f3"
],
"_id": "b20d523e-eeb0-2dac-eaee-c110c3880c96",
"description": "eiusmod",
"errorHandler": null,
"font_size": 12,
"created": "1971-06-25T16:25:34.691Z",
"created_by": "20e58e6bd4d783f03d3f3b7d",
"createdVersion": "in aute eiusmod fugiat",
"last_updated": "1966-12-23T20:46:21.708Z",
"last_updated_by": "7634765170e7171d4c4b89e8",
"lastUpdatedVersion": "eiusmod adipisicing",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/GkKE2G,Yw/v6LHYpk"
},
{
"type": "encryption",
"pointer": "/NTJVw2li-/~0/Ro7g/Np/Hk7/ejr//~0/~0"
},
{
"type": "encryption",
"pointer": "/~0/~1/~1/~0"
}
]
}