Hi,

BPEL uses XPath as expression language, and ODE also supports XPath 2.0
powered by Saxon. Thus, you can use the XPath function current-dateTime
[1]. Regarding the date comparison, XPath provides some helper functions
but I doubt that they are fully implemented by Saxon. But since you could
add your own XPath functions (implemented in Java and then put to ODE's
classpath), you would overcome these problems.

HTH,
  Tammo

[1] http://www.w3.org/TR/xpath-functions/#func-current-dateTime


On Thu, Dec 13, 2012 at 1:34 PM, 王雷 <[email protected]> wrote:

> Hi,
>
>
>
>      In order to implement a specific business rule, the following
> technical problems need to be solved:
>      -- How to get the current system time and keep it as a process
> variable.
>      -- How to make a comparison of the two time variables that the
> interval is less than 5 min or not.
>
>
>
>     Is it to implement this using BPEL based on ODE or not? Please give
> some suggestions. Thanks very much.
>
>
>
>     Best Regards
>
>
>            Lei Wang
>



-- 
Tammo van Lessen - http://www.taval.de

Reply via email to