The following information make me doubt about the possibility to
modify an existing workflow (but I did not read all the documentation
again) :

    http://plone.org/documentation/tutorial/genericsetup/the-setup-tool

    Listen: the import steps that a profile registers are additive.
That means that whenever you select a new profile as the active
configuration, any new import steps are ADDed to the set of already
registered import steps.

Creating a new workflow is probably the best thing to do.

Thanks

2009/10/6 Martin Aspeli <[email protected]>:
> francoise wrote:
>>
>> I have the same question :
>>   Is it possible to modify an existing workflow with the workflow import
>> handler ?
>>
>> If it is possible, how should I do ?
>
> I don't see why not.
>
> In your workflows.xml, you need to reference the name, and in
> workflows/<name>/definition.xml you should include the workflow definition.
>
> I'm not sure how much of the definition.xml you'll need to repeat. The
> safest thing is possibly to copy the whole thing.
>
> That said, it's probably better to just copy the workflow and make your own
> workflow with the same name. This make it obvious that it's changed from the
> default.
>
> Martin
>
> --
> Author of `Professional Plone Development`, a book for developers who
> want to work with Plone. See http://martinaspeli.net/plone-book
>
>
> _______________________________________________
> Product-Developers mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/product-developers
>

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to