Hi, first, the currentEventDateTime variable only works when using the replayer functionality. Second, it is currently only available when using XPath 2.0, so you need to make sure that the expression language is set to XPath 2.0 (urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0).
HTH, Tammo On 15.02.2012 17:11, Rudy Commenge wrote: > Hi, > > I have developed a BPEL process. > I have declared ode namespace : xmlns:ode=" > http://www.apache.org/ode/type/extension" > > Now I try to get current dateTime like that : > <bpel:copy> > <bpel:from> > <![CDATA[$ode:currentEventDateTime]]> > </bpel:from> > <bpel:to>.....</bpel:to> > </bpel:copy> > > But during deployment I have the following error : > null:468: error: [UndeclaredVariable] Attempt to reference undeclared > variable "currentEventDateTime". > > So, how to use "currentEventDateTime" ODE extension ? > > Best regards, > > Rudy > -- Tammo van Lessen - http://www.taval.de
