commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Akolkar <>
Subject Re: [scxml] Syntax Question
Date Sat, 01 Oct 2011 14:25:46 GMT
On Sat, Oct 1, 2011 at 6:18 AM, Yasser Al Masri <> wrote:
> what's the best way to check whether a given variable is any of values within a list?
For example, I want to say this:
> cond="myvar In('a','b','c')"
> or
> cond="mylist.contain(myvar)"

Syntax of expressions within the SCXML document depends on the
expression language (EL) in use. Please see the documentation for the
EL you're using.

For example, if you're using JEXL, see (though thats 2.0 syntax, out
of the box you'd be on 1.1):

You can also write your own EL functions if the syntax doesn't easily
afford what you want to do. For more on method invocation from ELs,
see bottom of this page which illustrates that using two of the common


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message