On Tuesday 17 January 2006 03:27, Markus Leist wrote:
> is there any small kind of sourcecode which can do a "simple" trigger of an
> ecm.workflow direct in an object-method?
> I have some xmlrpc-methods in which i have to modify the state of
> in my old "zope.app.workflow"-source it looks like:
> def changeWorkflowFrom...
> adapter = IProcessInstanceContainer( self)
> wf_host1 = removeAllProxies(adapter.get( "wf_host1"))
> any idea?
Well, in WfMC you cannot just trigger a transition. Instead you have to finish
all the workitems. In SchoolTool I keep track of all the workitems in a list.
Then I just finish them. Note that you only need to keep track of workitems
that require manual interaction.
All this can be seen from the zope.wfmc/README.txt file. I had to read the
file about 3 or 4 times before I knew what was going on. But it is very
> at what place i should post a kind of "mini-howto" (in a few day)?
I think the Zope 3 Wiki would be a good place.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list