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": [
"a6bdb494c8e6f1726f7ec24a",
"93a334cd66d1059f65acc8bf"
],
"x": 55886828.843221456,
"y": -65668788.09903125
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"3a98baa816bef12c61cd86ba"
],
"x": 40065030.8265225,
"y": -88082099.49032974
},
"error_handler": {
"name": "childJob",
"summary": "sit Ut exercitation consequat ullamco",
"description": "et adipisicing sit Duis",
"app": "non occaecat reprehenderit in",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~0/IOCtdGqj9A/~0"
},
{
"type": "encryption",
"pointer": "/tSW0/~0/NtnGrUW/q.0/-h2E/cZ0uEjm/~1/GE/x/y/~1/nqCrQ0fy"
},
{
"type": "encryption",
"pointer": "/w/~1/zxfJ5/~0/WM/~1/EFbKv8d3f/gqnba/~0"
},
{
"type": "encryption",
"pointer": "/~0/~0/I/xFrlD0/Po.iVVmv1G/~1/En2/cQpGu2YyEv/GUSerJ2qHJW/Ah+,kLT"
}
]
},
"groups": [
"3a1235497ea44b5a13c1bf70",
"97ee412b0a5adea74f9a5be4"
],
"x": -39211345.42580371,
"y": 41937892.019019306,
"type": "operation",
"gridCoordinate": {
"x": 45006638.08463389,
"y": -44896240.05076989
},
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"eef4f1800705e2a94d57efdb",
"32c8e3308a0767951e8b7c77",
"9dd966fe130dcef3df13a406"
],
"_id": "3eb2e4d9-f1f6-41bf-a405-66c6ad9f9ac5",
"description": null,
"errorHandler": {
"type": "laboris tempor",
"name": "labore sint tempor nostrud qui"
},
"font_size": 12,
"created": "2004-01-30T07:23:30.687Z",
"created_by": "7a339a5adb655a1d1b408c1c",
"createdVersion": "anim",
"last_updated": "1946-09-23T10:57:03.707Z",
"last_updated_by": "b310a3c6e6c95da78d3ce4ef",
"lastUpdatedVersion": "non",
"tags": [
"ut exercitation aliqua in tempor",
"Duis id"
],
"canvasVersion": 2,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/w,fd3"
}
]
},
"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": [
"881c314ea5f4e270d0c36958",
"12e528d014ecafc790a900ae"
],
"x": -20050033.29791726,
"y": 91474400.71417639
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"c87206ad7b1bdf301b8bf507",
"fe46f7c4b5a248e79631c25f"
],
"x": 24666454.865040645,
"y": -12695139.45313543
},
"error_handler": {
"name": "childJob",
"summary": "Ut velit ipsum eu",
"description": "sed mollit elit consequat",
"app": "cillum",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/mOFktN4u./fSs/Jv1CsFtw/~0/Ru3uqA49/~0/JCpuHJ2rJ.p"
},
{
"type": "encryption",
"pointer": "/~1/~0/h1oeX"
},
{
"type": "encryption",
"pointer": "/~0/~1"
}
]
},
"groups": [
"1ca303cc584142b6e18abee7",
"916674cfc3bab0628bd60791",
"a6ac5127d4866e1559654b97"
],
"x": -92309836.21800756,
"y": 40490392.03780934,
"type": "operation",
"gridCoordinate": {
"x": 1079215.802771479,
"y": -44773647.2934436
},
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"1ad8f797b7931adab6ad46fb"
],
"_id": "a7d553e2-c29f-e3bb-d1f6-ad0667f87f94",
"description": "voluptate anim eu occaecat",
"errorHandler": null,
"font_size": 12,
"created": "1992-05-24T01:12:45.437Z",
"created_by": "1d772890d440a5ba3dcbb069",
"createdVersion": "magna",
"last_updated": "1994-03-26T08:49:27.479Z",
"last_updated_by": "67c550f6a0153f25762ee061",
"lastUpdatedVersion": "anim",
"tags": [
"non do consequat fugiat",
"voluptate"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/Zp5/~1/AHbgv,D6M9"
},
{
"type": "encryption",
"pointer": "/~1/xPGZj4z,9FD/KdUUC1/~0/ULsnKrC9Y/s"
},
{
"type": "encryption",
"pointer": "/~0/~1/wXGNNV/OFzkzM+9i/~0/~0/~1/~1/Kd1sAS"
}
]
}