Closed (fixed)
Project:
Workflow
Version:
7.x-2.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2013 at 18:38 UTC
Updated:
13 Apr 2014 at 18:51 UTC
Jump to comment: Most recent
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
Comment #1
nancydruNot that I know of. Changing to a feature request.
Comment #2
nancydruPatches are always welcome
Comment #3
johnvPatches are still welcome..
Comment #4
johnvYou can use Feeds to export a Workflow, change the data in the features.inc file, and upload it again.
Comment #5
colanIn 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.
Comment #6
johnvI 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.
Comment #7
colanWell, it was worth a shot. ;)
Comment #8
colanFixing title.
Comment #9
johnvYou 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.
Comment #10
johnvSlowly 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