[Zope-CMF] How to create a transition that should only be triggered programmatically?

Dieter Maurer dieter at handshake.de
Sun Jan 25 18:13:02 EST 2004


Gerry Kirk wrote at 2004-1-23 17:33 -0500:
>Working with DCWorkflow, I want to change the state of one object when 
>the state of another changes. This state change should only happen when 
>this occurs - I don't want users to have the option of doing it.

You can use a transistion "triggered by user action" and
not define the "action box" related fields.

You program can then use "doActionFor" to perform the transition.

-- 
Dieter



More information about the Zope-CMF mailing list