Try OpenEdge Now
BPM Events User's Guide
The rule language
:
Time operations and expressions
:
Date conversion functions
:
Converting a date to long in a rule
Converting a date to long in a rule
BPM Events provides the
toInt
function to convert a Date value into a long integer in a rule. The following example illustrates the use of the
toInt
function, which returns the value of an event date in milliseconds.
val longValue : int = toInt(evt1.date) ;