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