[Zope-CMF] DCWorkflow using workflow variables in guards

mvans at xs4all.nl mvans at xs4all.nl
Mon Aug 18 14:31:01 EDT 2003


hi all,

Im trying to make a workflow that is able to assign an object to a person
instead of a role. I'm trying to accomplish this by setting a workflow
variable 'assigned' and doing checks on this variable in the guard
conditions.

I read the docs that are available. and came to the following guard
conditions to reference the variable with python expressions.

python:status_change.state.assigned == 'somename'
This does not work.

python:state.assigned == 'somename'
this also doesn't work.

Does anyone has any ideas how to accomplish this?

Cheers,
Michael



More information about the Zope-CMF mailing list