[Zope-CMF] DCWorkflow + Acqusition

Dieter Maurer dieter at handshake.de
Wed Oct 19 15:44:27 EDT 2005


Victor Safronovich wrote at 2005-10-17 13:10 +0600:
> ...
>By the way i think code:
>        for w in wfs:
>            w.notifySuccess(ob, action, res)
>        if reindex:
>            self._reindexWorkflowVariables(ob)
>in  _invokeWithNotification should be turn upside-down to:
>        if reindex:
>            self._reindexWorkflowVariables(ob)
>        for w in wfs:
>            w.notifySuccess(ob, action, res)
>am i right?

Why do you think so?

  I find the original order more natural (in case "notifySuccess"
  would change some workflow variables).

-- 
Dieter


More information about the Zope-CMF mailing list