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": [
"88f06f66dd4204742cf7f057"
],
"x": 89122801.22382134,
"y": -82671746.49912414
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"13eb76fdda10c3cdef3e6d9b",
"449ff5fb61469abba6b38053",
"59c18915b976d2f368722d13",
"c67d8486610ca2960a031f4d"
],
"x": -66631156.909456775,
"y": -42725326.420748115
},
"error_handler": {
"name": "childJob",
"summary": "cillum",
"description": "consectetur",
"app": "non nisi ut exercitation",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/u.xrgxAyx/q3dECoo/~0/~1/tKfYDHuUv7c"
}
]
},
"groups": [
"7a12ad736ed9d39714d83ff7",
"6de2dd68817b4bf28037b194",
"827e25a51e613c64b879e6cb",
"ccbfcac7ab5c497d9184eeaf",
"bb9485bca0037e56772c4a41"
],
"x": -89313833.67748392,
"y": -79077145.63006674,
"type": "operation",
"gridCoordinate": {
"x": 84027849.72504774,
"y": 25588628.060268044
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"8fb369659d693b8e30396e04"
],
"_id": "d4b997d4-5a2d-584c-9ca6-fd812642989c",
"description": "Lorem id amet ullamco",
"errorHandler": null,
"font_size": 12,
"created": "2017-12-06T18:39:25.972Z",
"created_by": "c111bef5a65319bd7e1de320",
"createdVersion": "laborum aliquip",
"last_updated": "1987-12-13T18:23:36.427Z",
"last_updated_by": "51f85eecf98a81029ed169e7",
"lastUpdatedVersion": "Duis Ut ipsum magna reprehenderit",
"tags": [
"sit dolore commodo magna",
"sunt aliquip eiusmod",
"consequat veniam Lorem",
"cupidatat",
"tempor sunt ea sed"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0/~1/s,H7k+6vs/~1"
},
{
"type": "encryption",
"pointer": "/~0/~1/A+jWroXH7b/h5/~1/~0/UoZfLEyM/xhyU+QELP6g"
}
]
},
"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": [
"86632a794f5b0441b50bcf6c",
"e70169b9e20cbc84be8e8733",
"475210c0829ab4c510c4f454",
"a1ada25d963f14ccc50b37ed",
"4db75a4144754069eefbd53b"
],
"x": 66454705.20000547,
"y": 27162849.68956271
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"7709220b632cda453504edeb",
"b519314e65d00781a6a445a9",
"de2ce50b412469b81d408277",
"a206016682c5763f6b80640a"
],
"x": -86141813.96972187,
"y": 30417793.55236076
},
"error_handler": {
"name": "childJob",
"summary": "in dolor amet id cupidatat",
"description": "ut",
"app": "amet dolore quis in",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/~0/ScjfJbf/~1/sQp2"
}
]
},
"groups": [
"42890c753b25066d6d636981",
"ac72996d25015c87359057c0",
"73a7c7c9b6592135395a4dae",
"27fad2a4a1ab05f074ab08f0"
],
"x": -77172682.64141919,
"y": -97248647.59796458,
"type": "operation",
"gridCoordinate": {
"x": -57278304.22497635,
"y": 58705221.86492136
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"8cafd295ab39b4e6bb545dc0",
"495a45fc0cb838547cdaa42c",
"b798ca85fca5e27cbda4115b"
],
"_id": "5f5ddb60-8d4a-a0ea-e17c-da0d36bf1895",
"description": null,
"errorHandler": {
"type": "sunt elit eiusmod in dolor",
"name": "sed"
},
"font_size": 12,
"created": "1965-03-13T19:50:14.209Z",
"created_by": "3d6d07375a29571736aea649",
"createdVersion": "eu nulla deserunt",
"last_updated": "1991-07-11T23:53:07.173Z",
"last_updated_by": "52c30e518cf0ae1a145c0ca3",
"lastUpdatedVersion": "qui aliquip",
"tags": [
"veniam non est laboris consectetur",
"nulla aliqua",
"cupidatat dolor do eu cillum",
"id",
"cupidatat ullamco"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/VlI.ZTPGsOb/WA1//~0/Qwolbt-/~0/WBgIb/~0/~1/~1/k"
},
{
"type": "encryption",
"pointer": "/VHdlhNQZ9k0/z/AU/uUCttLxz/wkko"
},
{
"type": "encryption",
"pointer": "/~1/~1/~1/~0/~0/~1/F8xk/a7X0a"
},
{
"type": "encryption",
"pointer": "/~1/SNhRMfgG"
},
{
"type": "encryption",
"pointer": "/~0/vf/jBAi6gtS/~0"
}
]
}