Does anyone know why this code doesn't run? It runs if I comment out the
line on which I have typed //<<
The result of df.parse is a Date object and the property "Active" is of the
date type.
{{groovy}}
def obj = doc.getDocument().getObject("Events.EventClass")
def df = new java.text.SimpleDateFormat("yyyy-MM-dd")
obj.set("Active",df.parse("2001-02-03")) //<<
{{/groovy}}
Thanks,
Martin