Question

How to copy a Workflow?

  • 29 June 2023
  • 1 reply
  • 45 views

Userlevel 2
Badge +7

Is there an easy way to copy a Workflow to a new Workflow?

I have an existing workflow, which is deployed and works just fine. For another user story, I need a very similar workflow, so I would like to copy the one I have and just change it a little. The flow is the same, but I need to change some projection calls.

I’ve noticed that the [Clone] button only allows me to clone to a new version of the same workflow.

The tech docs say that you can clone from a template, but I’d rather not risk breaking my existing workflow (it was hard enough to build) by un-deploying it and try to change it into a template.

Also, I’m tempted to take the exported .bpmn file and just change the process id, then import, but I’m afraid of breaking stuff if I don’t change all the flow and task ids.

Any bright ideas?


1 reply

Userlevel 4
Badge +7

You can export and re-import after renaming the ‘bpmn:process id’ in the file. No need to change any other ids. It will work as a separate workflow.

Reply