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": [],
"x": -6020193.106737897,
"y": -26756198.51682076
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -34690934.432551846,
"y": -4061867.453155443
},
"error_handler": {
"name": "childJob",
"summary": "cillum deserunt laboris",
"description": "non proident exercitation",
"app": "exercitation",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/pv9uO/bFEmdxTw/gnNpCsf7/~0/~0"
},
{
"type": "encryption",
"pointer": "/PDSUXe/P4ZSS6+yvF/dJh"
},
{
"type": "encryption",
"pointer": "/daUM/prHiKa8a/yOwTS/gVf/~1/C/~1/~1/~0/Ab5MaIo2"
},
{
"type": "encryption",
"pointer": "/~1/VFSwreq"
}
]
},
"groups": [
"e94cbb633abfe624ba6c8f6e",
"f3a7d078da18b38b1fb19ed5"
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"a30961aa3e951c09fe25ab4a",
"8aaba5e07a68f7d1f5655a08",
"e185e6c85aeb7f9fddd9a0f0",
"6d17561308d4d931e1346e9c"
],
"_id": "df78d2de-4206-c909-de38-0f43a97613d1",
"description": "id do",
"errorHandler": {
"type": "nostrud labore",
"name": "eu labore dolore non"
},
"font_size": 12,
"created": "2019-02-16T13:12:54.263Z",
"created_by": "54f407a8babbe4d2f1e7f671",
"createdVersion": "culpa irure ut cillum enim",
"last_updated": "1997-04-08T09:46:46.737Z",
"last_updated_by": "ae26326cac515b265ac96ac7",
"lastUpdatedVersion": "in pariatur",
"tags": [],
"canvasVersion": 2,
"decorators": [
{
"type": "encryption",
"pointer": "/igaZxxD/~0/yG/~0/~1/~1/fbcE//g/~1/~0"
},
{
"type": "encryption",
"pointer": "/~0/~1"
}
]
},
"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": [],
"x": -6435014.1549915075,
"y": -533144.0850774944
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": -34158748.49677842,
"y": -13150172.811057642
},
"error_handler": {
"name": "childJob",
"summary": "officia in",
"description": "in qui",
"app": "Ut enim sed",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/tFBNj58kN/d2Oct/~1/NgPD3a-/O-N/EnCC/~1/~0/~0/u8H"
},
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/~0/~0/ri/~1/O/~1/v/~1"
},
{
"type": "encryption",
"pointer": "/NFv+zdG4,/~0/ezj/~1/bLYpT/uW+yQ+g1/m2033XVjk/Q/YxEahQSS/rcsWqjTR-iF"
},
{
"type": "encryption",
"pointer": "/~0/~1/diNT/AHJhYp/laWO,uHs/pu12/~0/~1/~0/FV0h"
}
]
},
"groups": [
"f97a67cf134ae1aad778637d",
"eb917c2d68aba2780fcc5943",
"4916ccf73edc249a749fbaf6"
],
"type": "operation",
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"6ff7dba503a34f4539cc685f",
"7f1feff43aefd9bd0da3bb9d",
"3092e560b45ed6f948e752c7",
"4f68f4420b33edf25e319678",
"79757cdd0eb64e213e30e5fd"
],
"_id": "4c3a84b4-9b41-19d3-fa96-39c95823be93",
"description": "aliquip non nulla",
"errorHandler": null,
"font_size": 12,
"created": "1976-11-23T03:13:01.068Z",
"created_by": "db8f6b96a432ac516427a543",
"createdVersion": "laboris Excepteur ut",
"last_updated": "2019-09-21T00:00:32.827Z",
"last_updated_by": "690ba43c4615d9e2d2fa0b07",
"lastUpdatedVersion": "Duis in commodo voluptate esse",
"tags": [],
"canvasVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0/Njn"
},
{
"type": "encryption",
"pointer": "/~1/FklL/~1/~0/~1/~0"
}
]
}