[Zope-CMF] DCWorkflow question...

Dmitry S. Makovey dmitry at athabascau.ca
Thu Jun 2 12:27:10 EDT 2005


I've got workflow which runs script upon transition. At some point In 
that script I'm trying to get info on what state I'm in via:
st=getattr(state_change,'new_state')
and it appears to be working only with 'Manager' role which mean that 
I have to give that script "proxy role" of manager which I was trying 
to avoid. Is there any other way, and why new_state, old_state and 
transition attributes are so strictly guarded?

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
http://www.athabascau.ca
http://www.makovey.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20050602/0a3fa5d3/attachment.bin


More information about the Zope-CMF mailing list