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": [
"349e9758f6627f217ca7f679"
],
"x": 24147021.39616467,
"y": 23498860.804285556
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"ee26d917847a5caaf7891075",
"c5ad353def174f7f632bc0ec",
"17be7615a20fc816c636e2a8",
"89ee42a2967873cf0ce2a234"
],
"x": -63878086.93063564,
"y": -83031189.27445814
},
"error_handler": {
"name": "childJob",
"summary": "Duis",
"description": "et",
"app": "sint adipisicing non reprehenderit",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/y5YTZ/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0/~0/BxE,v4n4jR/~0/h1j81/~0/~1/JR7/3s/KgL/KnwRj/PK+"
},
{
"type": "encryption",
"pointer": "/J/CJM/lX/HERrJU/~1"
}
]
},
"groups": [
"a988d359d59b71609ed7c447",
"ca4f4e62357c42257bc9f093",
"02d4c40ce4830784ae818bc6"
],
"x": -10376062.111393303,
"y": -57937577.27256379,
"type": "operation",
"gridCoordinate": {
"x": -1396628.062562704,
"y": 90334163.0487589
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"a32f2553fb17e0239c40c133",
"076c010c18ae6d87ced27c3e"
],
"_id": "15e4907c-1c85-15eb-9f54-5daf6eb0814b",
"description": "minim magna commodo ipsum fugiat",
"errorHandler": {
"type": "nulla",
"name": "ut aliquip anim culpa"
},
"font_size": 12,
"created": "2009-11-18T20:49:07.139Z",
"created_by": "2b7f0c28a3249c26c4dd5947",
"createdVersion": "magna cillum",
"last_updated": "1961-08-04T15:49:57.306Z",
"last_updated_by": "01af9de5b923d89e88bf510d",
"lastUpdatedVersion": "labore",
"tags": [
"officia adipisicing nisi qui in"
],
"canvasVersion": 1,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/~1/p3Hlf42/~1/xTNdcE/MZ/Id5DEr/~1/~1/wq38C/~0"
},
{
"type": "encryption",
"pointer": "/H-rL1/~0/~1/rlS/~1/pRg/bBmX.qw"
},
{
"type": "encryption",
"pointer": "/~1"
},
{
"type": "encryption",
"pointer": "/~0/sXSTQl+/~0/c9GglQDw/TPyg5"
}
]
},
"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": [
"b6d360e1e85df314b8c0fdb8",
"285534f1ffc5b3f97f8bf742"
],
"x": -2093395.0326603502,
"y": -97567026.0903105
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"b5001c9c470eaf8abec5a0fa",
"4954d0f9bcb9a5b93a2715a4",
"8b5d6644fae5e34af4c1360a"
],
"x": -55095204.19282339,
"y": -46218635.669937894
},
"error_handler": {
"name": "childJob",
"summary": "enim consectetur nulla",
"description": "in",
"app": "esse ad eu reprehenderit",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/mT/tvnAR/GEw7w/~0/~0/~1/njuoFl/GAsqQW1c7/o+p"
}
]
},
"groups": [
"106c2779b4dd719ab52f65c5"
],
"x": 15382527.42973727,
"y": 97832117.18120953,
"type": "operation",
"gridCoordinate": {
"x": -33708971.93942213,
"y": 63665280.7144703
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"c25d812b4332d6b46eca8e47",
"88d0e44e68e18845034bb52e",
"951ff1256e916b0467e4b0b5"
],
"_id": "2da1f776-d281-55fe-df3b-5bf6c6d36003",
"description": null,
"errorHandler": {
"type": "eiusmod est proident aliquip mollit",
"name": "sit irure"
},
"font_size": 12,
"created": "2005-01-10T01:26:51.271Z",
"created_by": "d567c26f860ab2d727e79ab7",
"createdVersion": "est amet voluptate sint",
"last_updated": "1983-07-04T17:17:10.091Z",
"last_updated_by": "ef933c732672259a8379b323",
"lastUpdatedVersion": "ipsum",
"tags": [
"fugiat mollit Excepteur ut",
"sint irure magna",
"ut dolor deserunt aliqua",
"cupidatat mollit dolor ex ea",
"minim esse in"
],
"canvasVersion": 1,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/QGMb8gb/~0/~0/h1lY8QLtQw2/~0/xyHK3h/oMhrtzMKIl/BLEw-q/~0/s5KWGSRFMCf/~1"
}
]
}