[Zope-CMF] DCWorkflow using workflow variables in guards
expressions
Dieter Maurer
dieter at handshake.de
Wed May 4 14:54:38 EDT 2005
Konstantin E. Steuck wrote at 2005-4-21 16:20 +0700:
> ...
>While browsing thru DCWorkflow docs I thought I found perfect way to do
>this by creating state variable called 'user' and setting it to whatever
>I need. Then guard expression checks if current user is the one who has
>been assigned to accomplish the task.
>So I set guard expression for worklist to
>====
>python:state.get('user') == 'someone' # maybe user.getId()
"WorkflowTool.getInfoFor" is the method designed to access
workflow variables.
--
Dieter
More information about the Zope-CMF
mailing list