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": [
"c17f4cba8a8d6a3970f0694d",
"efac2ebac7c3b06d4c4a86e6",
"93ebe2f6e2aaea30ae270422",
"c042b167921b4227a0a601a6",
"0fdb1bec9fa84e9749619ff4"
],
"x": -43842982.38699067,
"y": -42841355.266841985
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"af92d3dc88aae09ced9ec207",
"a7dfdbfc220d068f6c536374"
],
"x": -1018335.4838160723,
"y": -96301834.23524156
},
"error_handler": {
"name": "childJob",
"summary": "nulla dolore",
"description": "fugiat proident ut anim exercitation",
"app": "sit laborum",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/AQVe/~0/kvyEuT/61/m+Zby8h4RAw/~0/~0/Gv/~0/~0"
}
]
},
"groups": [
"944557234cad441a1894ab06",
"ea92ad90472c2c73d9f7da25",
"f9f8099ebd55526eed0a5044",
"d0399eac7e1b1cd8837d7f04"
],
"x": -3800244.15919742,
"y": -8162766.774259955,
"type": "operation",
"gridCoordinate": {
"x": 7858323.07029137,
"y": -38783545.92499571
},
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"8f950538d17f73bf99f526fd",
"1932efef02dc2a3a52616ce4",
"5d7614e5710a17fb0aaae31a",
"464d601f1c514534ef2ce273"
],
"_id": "2cda4070-a820-b044-7553-6fa7f98e39da",
"description": "aliquip occaecat",
"namespace": null,
"errorHandler": {
"type": "nostrud",
"name": "enim ullamco est ut nisi"
},
"font_size": 12,
"created": "1996-05-30T07:59:28.288Z",
"created_by": "aa3ff52c5dc2e3784ab45c30",
"createdVersion": "aliqua nostrud id nisi",
"last_updated": "2011-03-30T12:10:18.368Z",
"last_updated_by": "fd078519ad73d6d35acb622e",
"lastUpdatedVersion": "consectetur eu in",
"tags": [
"laborum dolore enim",
"do",
"irure officia",
"Excepteur do consectetur"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/s/MNoooDH/HDlOI-/idVJaoBT+u/E.+bJeE/iFHSgpd1uQ/I3uxCpd/~0"
},
{
"type": "encryption",
"pointer": "/~0/Xqd5lFG"
}
]
},
"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": [
"5f8d2f2fcaad4701eb44543b",
"8f11342de43fc9cc8d618d0b"
],
"x": -29279913.65802321,
"y": -54080042.46341589
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"ed6d92402c8047df3726ba83",
"d38d057c882d311cdfc89cb9",
"67c2f93bed9ebd9d5c1944c1",
"6ab2e1187d999f40d74fffa5",
"ad82a8f4a5ab4de4197099a2"
],
"x": 59087256.926973134,
"y": 39678619.0724245
},
"error_handler": {
"name": "childJob",
"summary": "tempor",
"description": "laboris irure Ut sunt magna",
"app": "minim",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/T/NtWCsygix,Z/wuGMLB/~0/~1/~1/~1"
},
{
"type": "encryption",
"pointer": "/rnrc0Dk3BL3/aetc13-vo/ORO5Z/~0/N/AdKkO/E/P3clBfwkz"
},
{
"type": "encryption",
"pointer": "/~1/g.vs9.4EU4/~1/~1/VGvLY2w22q/K7lO86vpWW/lK/I/b5e.KA5t7Bj/mFSO5Hz7/~1/Q1cxTcdQ6"
}
]
},
"groups": [
"541743be95886061cc31f9ae",
"a8456201ff80e486c78a5673",
"4a79de46294c0ccf9758f6a2",
"171a10cd3f9e565249c5ddec"
],
"x": 67978094.06960028,
"y": 94411684.68715325,
"type": "operation",
"gridCoordinate": {
"x": 4153341.8222053647,
"y": -83361051.65185188
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"319a043e8f937e9dc877da55",
"1a264a88d1cf173046dba6c3"
],
"_id": "16f85b4f-741f-0ba6-c162-6919acae583d",
"description": null,
"namespace": null,
"errorHandler": null,
"font_size": 12,
"created": "1967-04-20T21:23:37.594Z",
"created_by": "5921e6e4a884ad197480d55b",
"createdVersion": "amet laborum quis voluptate",
"last_updated": "1988-12-09T13:40:03.324Z",
"last_updated_by": "54634afdaa2f66a9f19ed550",
"lastUpdatedVersion": "eiusmod commodo",
"tags": [
"adipisicing commodo in"
],
"canvasVersion": 1.5,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/L6KyPrXrB/~0/qxB7.f5rDf/~0/n"
}
]
}