You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Anna Södling <an...@passagen.se> on 2009/03/12 12:03:37 UTC

[SCXML] More about evaluating conditions

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"? 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?
 
Sincerely,
Anna


<P><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR> </font>

Re: [SCXML] More about evaluating conditions

Posted by Rahul Akolkar <ra...@gmail.com>.
On Thu, Mar 12, 2009 at 7:03 AM, Anna Södling <an...@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