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