I have a number of workflows that are very similar except for the rules associated with each.

Instead of recreating is there a way for me to clone the workflow and rename it?

Comments

nancydru’s picture

Category: support » feature

Not that I know of. Changing to a feature request.

nancydru’s picture

Status: Active » Postponed

Patches are always welcome

johnv’s picture

Issue summary: View changes
Status: Postponed » Active

Patches are still welcome..

johnv’s picture

You can use Feeds to export a Workflow, change the data in the features.inc file, and upload it again.

colan’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev

In Workflow 2 (as workflows can now be implemented as fields), you could use the Field Tools module to clone your workflow field.

Edit: "Feeds" is mentioned in the above comment, but it should be read as Features.

johnv’s picture

I doubt that: the workflow is not part of the Field: The field only refers to the workflow. There is no change in behaviour of workflows between version 1.x and 2.x.

colan’s picture

Well, it was worth a shot. ;)

colan’s picture

Title: Is there a way to clone a workflow? » Add ability to clone a workflow

Fixing title.

johnv’s picture

You migth create a feature, rename the workflow (and the feature?) and upload it again. Perhaps you may disable Features afterwards, but haven't tested it.

johnv’s picture

Version: 7.x-2.x-dev » 7.x-2.2
Status: Active » Fixed
Related issues: +#2187321: [EXPORTING] Make Workflow exportable via Features or Entity API, +#2226781: Make Admin UI more Entity-like.

Slowly all feature requests fall in place....
Workflow was already a 'true' Entity. Now I used the EntitiyUIController for the Admin interface, and making the entity Exportable generates more operations, amongst others a 'clone' operation with few custom code!
See the 'related issues'.

This in included in 7.x-2.2+dev or 7.x-2.3

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.