
thomas.dingeldey at camao
May 20, 2009, 1:45 AM
Views: 392
Permalink
|
|
Workflow transitions automatic state changing
|
|
Hi, I have a question about the transitions of a workflow. In ZMI you could choose the option automatic in a transition. Does the option only remove the action if you call "atool.listFilteredActionsFor(item)" or is it intended to do some more? We start a process with a workflow which runs a long time, if the process starts, we move the object into another state with a transition: wf = getToolByName(self.context, 'portal_workflow') wf.doActionFor(self.context, 'send', comment='send') If the process is finished we like to move the object automatically into another state. Provides the workflow functions which assists this? For example: If a certain method ist called after the process is finished, could the workflow get aware of this? Greetings Thomas _______________________________________________ Zope-CMF maillist - Zope-CMF[at]lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
|