[Zope] Programatically creating workflows

Dieter Maurer dieter at handshake.de
Wed Feb 18 14:16:09 EST 2004


ratem at censanet.com.br wrote at 2004-2-16 19:09 -0300:
>we are starting to work on an extention of SMW CASE tool, and our intention is
>to programatically create Zope workflows from UML State Diagrams. This is a
>branch of ERP5 project(http://www.erp5.org), but I believe that it can
>potentially help every CMF developer/user. 
>
>I would like to know the steps to programatically create, from Python scripts
>(outside Zope), CMF workflows (inside Zope). Any hint? 

You use the methods of "DCWorkflowDefinition" and friends to build
the workflow. This can be done without and outside of Zope.

To access Zope's ZODB from a script running outside of Zope,
you may want to learn about ZEO.

-- 
Dieter



More information about the Zope mailing list