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": [
"8f9d48e716caef9258c37a6a",
"5889d9360b36c6e9f367893d"
],
"x": -32190066.90367219,
"y": 64121683.546804726
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"46aed2f3f6af70aa9fa7566f",
"6ae6f27b4790412e1e962eb3",
"a8288ce8440780daef480246"
],
"x": -77233720.69150378,
"y": -21727556.65698749
},
"error_handler": {
"name": "childJob",
"summary": "sunt in dolor",
"description": "eu",
"app": "est voluptate elit culpa consequat",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~0/MG/TB/~0/Lyg/~1/Q/~1"
},
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/~1/~1/W6nyYHNxY7D/tOLG/Qesn/~1/~0/dVW1q,zOX/~0/~1/K,YmTqNv"
}
]
},
"groups": [
"4d97322deeedabe465392d63",
"7fdccde990e66d2dc297689f",
"e49f7d15659119f2cbfd79fd"
],
"x": -21750297.124287337,
"y": 943302.347353518,
"type": "operation",
"gridCoordinate": {
"x": 8425284.31993799,
"y": -51952653.44677717
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"6105375d88880119453d378a",
"4615b6d307835376ad7af99c",
"81d84de86aee2b9f8104443c"
],
"_id": "ed988b3b-015b-dc06-5103-96bafb62c575",
"description": "dolore",
"namespace": null,
"errorHandler": null,
"font_size": 12,
"created": "1955-12-02T10:51:39.648Z",
"created_by": "900bee605dabc70ed3c778f1",
"createdVersion": "consectetur",
"last_updated": "1979-06-09T10:01:09.625Z",
"last_updated_by": "f870634f7f15f9f47f379e12",
"lastUpdatedVersion": "magna tempor ullamco",
"tags": [
"ea Lorem",
"reprehenderit"
],
"canvasVersion": 1.5,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/~0"
},
{
"type": "encryption",
"pointer": "/qJM/YRT/~0/U6DEhRpVC/~1/~0/~1/m33g/OkBC/S/rQjCP0h"
}
]
},
"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": [
"1eaca43ae1825a9abda9d666",
"331237040499a57c9221373e"
],
"x": -25952084.06578444,
"y": 76501185.64344904
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [
"3f13e26c6cca0ab4b4deaf81",
"59e42ed11fb875f4bf84ccf1",
"72421654a333e8dd5233a8be",
"31294cce1a1fa1911c44f1c0"
],
"x": 57222309.0560326,
"y": -48547016.95855361
},
"error_handler": {
"name": "childJob",
"summary": "nisi sint",
"description": "in velit",
"app": "minim elit veniam",
"variables": {
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0/La92IwsGU/~1/~1/~0/~0"
}
]
},
"groups": [
"4f6319ed8cefc30296af72f0",
"33bf16669ffa3ccdbc0fb7be",
"a74d12863a08992ff14c0957",
"cebdd5755bbdab6a0a36fe47"
],
"x": 92415767.02833557,
"y": 1372147.212814808,
"type": "operation",
"gridCoordinate": {
"x": -69068577.41570294,
"y": 50638668.62180045
},
"deprecated": true,
"scheduled": true
}
},
"transitions": {},
"groups": [
"8d21568e9d94b3ae5a81f5b3"
],
"_id": "273f75a6-3b94-ced5-45a9-825e06ef8af2",
"description": "ea",
"namespace": {
"type": "project",
"_id": "5cb5252a1bbc5a00def564c1",
"name": "mollit consectetur sint culpa",
"accessControl": {
"read": [
"sit",
"nostrud occaecat Duis"
],
"execute": [
"cupidatat nisi veniam dolore ipsum",
"occaecat cupidatat reprehenderit labore",
"qui eu mollit Excepteur commodo",
"laborum Excepteur Duis dolor",
"velit ut sit"
],
"write": [
"minim ut magna dolor",
"nisi est"
],
"manage": [
"dolore enim non quis nisi",
"dolore ea",
"elit veniam consectetur eiusmod aliquip",
"dolore aliquip"
]
}
},
"errorHandler": {
"type": "id",
"name": "Duis in occaecat"
},
"font_size": 12,
"created": "2009-07-25T01:37:01.176Z",
"created_by": "49f3f65a670cf2feed36941d",
"createdVersion": "sint velit magna et est",
"last_updated": "1986-11-22T21:21:27.02Z",
"last_updated_by": "2000ef31a104175e9e1a0ee3",
"lastUpdatedVersion": "reprehenderit minim nisi",
"tags": [
"quis est nisi ea dolor",
"labore reprehenderit ut",
"aute Duis Ut voluptate"
],
"canvasVersion": 2,
"encodingVersion": 1,
"decorators": [
{
"type": "encryption",
"pointer": "/Pxms"
}
]
}