Creating a workflow
To Create a new workflow, you can simply copy an existing workflow.
Copying a Workflow
To copy a workflow, you can use the API endpoint: "/api/v1/workflow-definition/{id}/copy"
. This endpoint accepts the ID of an existing workflow or a template and copies it. While copying, you have the option to overwrite the workflow’s “name” and “displayName”.
Usage Example
Copying a workflow