Hi list,<br><br>I&#39;m having problems using Enums in the LHS of my rules.<br>Running this rule<br><br>&gt; rule &quot;demo&quot;<br>&gt;&nbsp; &nbsp;&nbsp; when<br>&gt;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $t : Transition( from == PlayerCharacter.STATE_IDLE,<br>&gt;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; to == 
PlayerCharacter.STATE_GENERATING,<br>&gt;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; state != TransitionState.REQUESTED )<br>&gt;&nbsp; &nbsp;&nbsp; then<br>&gt;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; System.out.println(&quot;The state is: &quot; + $t.getState());<br>&gt; end<br><br><br>
actually results in the output<br>&gt; The state is: REQUESTED<br><br>Am I doing something wrong?<br>I&#39;m currently using the experimental 3.1.0M1 release.<br><br><br>Best regards<br>Marcus<br>