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": [
"2bee224903033eed6e5b6bfb",
"bfe6d2248439cf9d613f1063",
"5de68fa0d1fe500295e3dd44",
"d29420357b758d94126d00bf"
],
"x": -22555205.65544997,
"y": 86485229.77930245
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"8c7aecc72ebae618b129e927"
],
"x": 80836282.39158192,
"y": 44289178.50283849
},
"error_handler": {
"name": "childJob",
"summary": "dolore velit laboris ea",
"description": "dolor ex quis",
"app": "commodo proident",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~1/~1"
},
{
"type": "encryption",
"pointer": "/J5/P3vqsFMxd/D"
}
]
},
"groups": [
"31ca8a356dc5fd2a133a0d3b",
"adfb1035164242e5b496dd9f",
"23800023ab7b7b4d142eb658",
"5d04884bfe40e71370d9d806",
"eba4600c8dc246edaa6e33d7"
],
"x": -49147643.92249955,
"y": -93993800.46650769,
"type": "operation",
"gridCoordinate": {
"x": 37224438.158501625,
"y": 83975836.94238576
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"49438d9b69d559d3dba04ded",
"6044db7b6b99284ea4e4487c"
],
"_id": "365433fe-f267-6de5-9701-3a4b518ec21b",
"description": "labore et in occaecat ut",
"errorHandler": {
"type": "eu",
"name": "est sit"
},
"font_size": 12,
"created": "1949-01-14T20:41:11.036Z",
"created_by": "8062ffda23c6e2138d5649e2",
"createdVersion": "Excepteur",
"last_updated": "1963-12-09T02:56:19.806Z",
"last_updated_by": "02fc2c5edeceee79ad504d5a",
"lastUpdatedVersion": "laboris officia esse laborum ullamco",
"tags": [
"elit",
"dolor adipisicing veniam proident",
"elit quis ea"
],
"canvasVersion": 1,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/YJb1TL/NkFXST/O8p.63h,/z/X/nFEJWtKAD/h2xU"
},
{
"type": "encryption",
"pointer": "/DVcc83AtMDz"
}
]
},
"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": [
"ffc69b19bd6ebd3fec5c2be9",
"1bdc95a9d4e2727857da6e49",
"44f9d5b23f017c86539c94e1"
],
"x": 24080261.20185314,
"y": 57633763.44571057
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"da82be134953d13f75aa05a3",
"de18bbeb78011e80784330ae",
"4bb6570a8430d8a658e6f365",
"623fd9199e738cf5d2f7c67e"
],
"x": -48480789.367889665,
"y": 64793027.28556475
},
"error_handler": {
"name": "childJob",
"summary": "amet esse sed ea",
"description": "ad",
"app": "id",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0/nB7s/~0/~0/zGJGmTzz56B"
},
{
"type": "encryption",
"pointer": "/mH/~1/t0.0hwP/~1/B/OexhoO/xW5tuq"
},
{
"type": "encryption",
"pointer": "/~1/DG.U3"
}
]
},
"groups": [
"9752bb21e91abc21568c343f"
],
"x": 31984067.974706814,
"y": 96752602.64602157,
"type": "operation",
"gridCoordinate": {
"x": 64784592.543145835,
"y": -57353912.622188784
},
"deprecated": true,
"scheduled": false
}
},
"transitions": {},
"groups": [
"0ae8f72e9886de5c47376597",
"51ef448afa4d6fa7ff823cbc",
"06317b65fcc705f3819ae549",
"9958842c6bc1ef29f627079a",
"177dad4b632a8073aad77bae"
],
"_id": "c95b3226-04ed-1c85-2570-6993db3ff739",
"description": null,
"errorHandler": {
"type": "cillum",
"name": "laboris"
},
"font_size": 12,
"created": "1968-07-10T05:10:11.457Z",
"created_by": "0cdfbf599966ed8833e3ff84",
"createdVersion": "veniam",
"last_updated": "1951-01-14T04:46:17.158Z",
"last_updated_by": "b1faffd2a60ed44fdb74afd1",
"lastUpdatedVersion": "labore",
"tags": [
"proident dolore",
"laborum",
"id consectetur quis Duis",
"dolore Excepteur"
],
"canvasVersion": 2,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~1/NmbQIR"
},
{
"type": "encryption",
"pointer": "/xA/~0/~1/szuU/~1/~1"
},
{
"type": "encryption",
"pointer": "/mZcfaVRkhF5/u+1mV4bMV,/wO/~1"
}
]
}