[Zope-CMF] automatic workflow transitions

Dieter Maurer dieter@handshake.de
Wed, 16 Jul 2003 21:58:37 +0200


Sam Brauer wrote at 2003-7-16 10:23 -0400:
 > I have a specific question about scripting automatic workflow 
 > transitions, and then a more general question.
 > 
 > Regarding scripting automatic transitions:
 > 
 > I have created a new transition (in a DCWorkflow) that I set up to be 
 > triggered Automatically.  I have created a script and set it as the 
 > "Script (before)" for the transition.  I would like for the script to 
 > allow the transition only if certain criteria are satisfied.
 > 
 > My problem is that I am unsure how the script can "veto" transition.

The usual way would be to use a script in "condition" to check
whether the criteria are met.


Dieter