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": -58578240.45846693,
"y": -11378586.490174934
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 34747319.79931128,
"y": -87674681.18925317
},
"error_handler": {
"name": "childJob",
"summary": "laboris labore irure pariatur",
"description": "nostrud quis",
"app": "anim ex aute sint",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/OPvGpW/eBw6vhA/yPY/~1/UdHhrDmr2"
},
{
"type": "encryption",
"pointer": "/Lw/pP7/~1/kVtfcB./Yyzhej8/~0/~0"
}
]
},
"groups": [
"6aa3b2362c9dfe192208a75d",
"d8cafb38fcc2a1a002784df4",
"c3d0de57e4a603a1a8de9e55",
"e3816c90804e402fa3589830",
"f24966f187d0c5aa4ca738fb"
],
"type": "operation",
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"29fcfd453527df64c75bbb5c"
],
"_id": "1ac19137-b61b-bd94-b1f8-e506796cdac2",
"description": null,
"errorHandler": null,
"font_size": 12,
"created": "1965-06-02T09:20:44.47Z",
"created_by": "764a7e711e4f93a692b3a029",
"createdVersion": "est",
"last_updated": "1945-03-20T00:58:21.859Z",
"last_updated_by": "99964c067579f6ec33f2c21c",
"lastUpdatedVersion": "deserunt nulla exercitation",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0/gb4tX8kTIKH/j4gJe/~0"
},
{
"type": "encryption",
"pointer": "/~1/~0/~1/~1/M/hnJo/qqm+u/U+nHC,y/uU/RP1/m0"
}
]
},
"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": -86131444.87304507,
"y": -44807463.84987899
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -92899218.77245457,
"y": 76018885.79695281
},
"error_handler": {
"name": "childJob",
"summary": "quis",
"description": "dolor",
"app": "qui consectetur cupidatat",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/x0z0f.Z/VI/~0/~1/~1/~1/~1/IiPXnFOjd7t"
},
{
"type": "encryption",
"pointer": "/~0/~0/~1/~0/mQJ06BH1cDH"
},
{
"type": "encryption",
"pointer": "/~0/zCECLS/~0/~1/~1/j8f/~0/~0"
},
{
"type": "encryption",
"pointer": "/wIRKD/oU+BRFDi/eR/M+q,e,Cwxn6/~0"
},
{
"type": "encryption",
"pointer": "/gbx/CJPvtnG6B/~1/~0/~1/Q9OWJ/xRZey5U"
}
]
},
"groups": [
"6e0b2370b92c05e55da3ac97",
"9d7b7ea7a384de6d050ba944"
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"945ca078f294ccbddfb2d9df",
"d4ba1a39e22a0ab42b59d9c9",
"334cf3680beaf076cf6e846b"
],
"_id": "67522dab-8312-6c47-e32a-6a52e171dcbb",
"description": "aliquip",
"errorHandler": {
"type": "et occaecat",
"name": "aute ullamco est ut"
},
"font_size": 12,
"created": "1984-03-05T14:23:44.006Z",
"created_by": "3e9a1a45b4a6b5d72ba7488a",
"createdVersion": "minim",
"last_updated": "1970-10-24T23:54:54.981Z",
"last_updated_by": "4649865f9fe24ce2137d1577",
"lastUpdatedVersion": "irure",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/s871B7.0Gc/hSGz/~1/~1"
},
{
"type": "encryption",
"pointer": "/f/MK6YZ/CIC4wX/~1/~0/wSiY,z/KJrtJ1E/~0/Jn2mtO"
}
]
}