commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Akolkar <rahul.akol...@gmail.com>
Subject Re: [SCXML] More about evaluating conditions
Date Thu, 12 Mar 2009 15:31:52 GMT
On Thu, Mar 12, 2009 at 7:03 AM, Anna Södling <anna.sodling@passagen.se> wrote:
> Hello,
>
> Another question popped up...about conditions and AND and OR-operations.
> More likely, how to express them in SCXML. Is it possible to write for
> example "data1 and data2" or what does the syntax look like for these
> two operations? And is it possible to have more than one operation, like
> "data1 or data2 and data3"?
<snip/>

Commons SCXML allows users to plug in expression languages of their
choice. IMO, any expression language worth its salt will allow
composite conditional expressions.


> And, if it is, how is that expression
> evaluated. does it go from left to right, or does it consider 'and' to
> be stronger and evaluates that part of the expression first?
>
<snap/>

Generally speaking. However, please refer to the documentation for the
expression language you plan to use for all the specific details.

-Rahul


> Sincerely,
> Anna
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message