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": [
"a9642b8152c5dcda844b1d1f",
"ac82579e39ef5b366beb61df"
],
"x": 43090471.860188276,
"y": 73704692.66823849
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"67e32ca14def7b156726644a",
"cb27e0a7b230cfabf0088055",
"3d756763db8f547809d4e35e",
"a66461e4e0ed5ce9c2e46f9f",
"c53e88e4052cf766d0e7d320"
],
"x": -94436905.5496892,
"y": 9795983.63092497
},
"error_handler": {
"name": "childJob",
"summary": "consectetur dolor Excepteur quis",
"description": "laboris eu",
"app": "tempor id qui et",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/SD8i/ObO/~1/~1/ndIOwUc/C/BC2DW."
},
{
"type": "encryption",
"pointer": "/iAM/~0"
}
]
},
"groups": [
"284556f2e28d9ba9406f47d0",
"a74c40be98d8923b6a8f420f",
"41080985f9f180f36cd5863a",
"5f3df7e889691f9daa91291f"
],
"x": -95906206.95164227,
"y": 76798085.73989445,
"type": "operation",
"gridCoordinate": {
"x": 85917773.86297631,
"y": 63554205.41966227
},
"deprecated": false,
"scheduled": false
}
},
"transitions": {},
"groups": [
"b1afed04e8426ec3d5797307"
],
"_id": "3d658c13-c04b-8387-38d4-3a19a2ecbd43",
"description": null,
"namespace": null,
"errorHandler": {
"type": "sit ut",
"name": "nulla ullamco"
},
"font_size": 12,
"created": "2007-04-30T19:02:27.31Z",
"created_by": "d0cf1f15ef7ba335e3ebe08d",
"createdVersion": "fugiat officia id dolor",
"last_updated": "2001-03-22T20:55:29.832Z",
"last_updated_by": "bd0dc10ffaf432fbfc8ce42b",
"lastUpdatedVersion": "irure do laboris ad",
"tags": [
"exercitation ullamco occaecat do quis",
"esse",
"eiusmod",
"magna",
"et est ullamco cillum"
],
"canvasVersion": 1,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/Dee,Gi/L.bfR-oOv"
},
{
"type": "encryption",
"pointer": "/EVk+/MJg/~0/~0/zYCEE9CAoe/M3"
},
{
"type": "encryption",
"pointer": "/~0/~1"
},
{
"type": "encryption",
"pointer": "/~1/~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": [
"ca518bbead80105a842e0820",
"e20581f6b687ee02ee9fd171",
"ee53d30e6a7163b5c6b83bbe"
],
"x": 58271826.810768664,
"y": -56342993.27940639
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"113c74a1638ed80c2a4c968d"
],
"x": 38824876.9104186,
"y": -6756153.584828302
},
"error_handler": {
"name": "childJob",
"summary": "officia mollit veniam esse id",
"description": "consectetur ullamco reprehenderit ad",
"app": "dolor",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/CJYR92b/v44cReDzW3/u3rOp/~0/~1/~0/~0/~0/Y"
}
]
},
"groups": [
"6601b05b5316abcefdf3f95f",
"ef091f56b9929a298b39e5eb",
"6e3656f79b7ad49ce1c49c53"
],
"x": -78362053.60952953,
"y": 21073586.579984576,
"type": "operation",
"gridCoordinate": {
"x": 64505781.82127184,
"y": -39964436.14759357
},
"deprecated": false,
"scheduled": true
}
},
"transitions": {},
"groups": [
"2b6d486b9ddeb3e011a1c71b",
"93ca9562a37ee02df5ff9dfe",
"a2090c7092f825f24d8c838f",
"9dac07acda72a24d5c0e14bf"
],
"_id": "e4e0eb52-1296-e157-a5cc-9d64eeb77c19",
"description": "deserunt occaecat quis non",
"namespace": {
"type": "project",
"_id": "5cb5252a1bbc5a00def564c1",
"name": "Ut amet",
"accessControl": {
"read": [
"Lorem nulla enim velit ut",
"fugiat amet eu pariatur reprehenderit",
"in laborum dolore dolor adipisicing"
],
"execute": [
"voluptate sed incididunt nostrud elit"
],
"write": [
"dolor sint irure exercitation anim",
"eiusmod in ut in",
"enim minim deserunt",
"mollit est tempor nostrud in",
"do magna ut"
],
"manage": [
"esse dolore ex",
"sed enim exercitation",
"enim deserunt in"
]
}
},
"errorHandler": {
"type": "Duis quis laborum",
"name": "aliquip sunt"
},
"font_size": 12,
"created": "1984-05-30T20:11:50.567Z",
"created_by": "b2f9f161b810ee734cd51a57",
"createdVersion": "sit voluptate laborum ea",
"last_updated": "2020-08-19T17:41:22.893Z",
"last_updated_by": "6e4a41a7e47d5154e0cf5f54",
"lastUpdatedVersion": "Duis in occaecat dolore aliqua",
"tags": [
"occaecat pariatur nostrud",
"pariatur Excepteur occaecat veniam sunt",
"fugiat ut dolor dolore",
"irure Excepteur non"
],
"canvasVersion": 3,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/oOByO.uBf/MgBx/~1/~0/wcIH//~0/~0/~0/~0/~0/~1"
}
]
}