Copy workflow

Create a copy of a workflow, optionally including its tasks and managers. The copy keeps the original's category, re-entry buffer and layout, and starts disabled. Returns the id and name of the new workflow.

Required permission: Full Write Workflows

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the workflow to copy

Body Params

The details of the new workflow

string | null
required

The name of the new workflow.

string | null

The description of the new workflow.

boolean

Whether to copy the workflow's tasks, their settings and the connections between them.

boolean

Whether to also copy the workflow's managers.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json