Hi, 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? thanks in advance, Rogerio Atem de Carvalho ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
You might take a look at the Plone sources. Plone's workflows are defined this way. -aj --On Montag, 16. Februar 2004 19:09 Uhr -0300 ratem@censanet.com.br wrote:
Hi,
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?
thanks in advance,
Rogerio Atem de Carvalho
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
ratem@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
Dieter,
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.
Thanks one more time, I will check it.
To access Zope's ZODB from a script running outside of Zope, you may want to learn about ZEO.
Maybe is the case of generating a Python script that creates the workflow and them call them from Zope. We will check! Regards, Rogerio Atem ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
participants (3)
-
Andreas Jung -
Dieter Maurer -
ratem@censanet.com.br