Hi,

I have a custom archetype for a seminar announcement.  When published
this announcement runs a script to send an email to a mailing list. I
have added to this content type a multiselection widget of checkboxes
(called modified_element) enabling the user to indicate significant
changes to this announcement, and a workflow transition which will send
the email again announcing the changes (date, time etc.)

I would like to add a guard expression to this transition such that it
is available only when the user has actually checked a box in the
multiselection widget.

I have tried:

python:len(here.getModified_element())>0

but the workflow transition is still available in the dropdown.

I have updated the security settings.

Your help would be gratefully appreciated.

Thanks in advance

Marie


begin:vcard
fn:Marie  Robichon
n:Robichon;Marie 
org:European Synchrotron Radiation Facility ;Web Group - Computing Services
adr:;;6 rue Jules Horowitz;Grenoble;;38043;France
email;internet:[EMAIL PROTECTED]
tel;work:04.76.88.21.86
url:http://www.esrf.eu
version:2.1
end:vcard

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

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

Reply via email to