Hi Diptendu, I don't think the 'target' attribute is meant to be used with expressional values. [1] I guess you might want to try with transition elements with cond attribute, which is expressional [1], instead. For example,
<transition target="Start" cond="user != null" /> <transition target="SomethingElse" cond="user == null" /> Regards, Woonsan [1] https://www.w3.org/TR/scxml/#transition On Mon, Jul 15, 2019 at 10:51 AM Diptendu Dutta <dutta.dipte...@gmail.com> wrote: > > Some thing like > > <datamodel> > <data id="intent" expr="null"/> > <data id="startState" expr=""Start""/> > </datamodel> > .. > <state id="StartBot"> > .. > <transition target='${startState}' /> > </state> > > does not work. > > *SEVERE: Transition target with ID "${startState}" not found* > > However, the spec at > https://commons.apache.org/proper/commons-jexl/reference/syntax.html > mentions > > If a variable user valued JEXL is present in the environment - whether as a > local or global variable -, the format > > `Hello ${user}` > > will evaluate as > > Hello JEXL > > How can I make this work? > > Regards, > > Diptendu Dutta --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org