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

Gerry Kirk gerry at faithonline.com
Mon Feb 2 09:03:37 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.
> 
Ok, wasn't sure if that was the right approach. Not defining the action
box works fine.
Thanks,
Gerry

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




More information about the Zope-CMF mailing list