[Zope-CMF] More DC workflow questions

Florent Guillaume fg@nuxeo.com
Wed, 15 May 2002 10:37:09 +0000 (UTC)


> > >  - When are the so called 'automatic' transitions triggered, and in what
> > > order are they processed?
> >
> > They are checked and triggered after an other transition has been
> > followed. So to start the whole process you need a manual transition or
> > a workflow method.
> 
> After - that makes sense. What order do they get processed in? I expect it 
> would be sorted on the id if anything.

The current implementation gets them in the order they have been defined
(the default order of the underlying ObjectManager), but I wouldn't rely
on that...

Note that only the first automatic transition that is found is followed,
then the process starts again from the new state.

> I only see a single script field in the transitions form, so I assume I'm 
> using an older version of DCworkflows. I'll browse the code...

Yes, newer DCWorkflow has a before- and after- transition script.


Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com