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.

Zope-CMF maillist  -  Zope-CMF@lists.zope.org

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to