Hi,
This is my where clause:
when
resultInfo : TennisResultInfo(endGame == true , setNumber == 5,gameWinner == PARTICIPANTS.HOME.getId()
, gameLoseScore == 0)
then
the rule falls over on PARTICIPANTS.HOME.getId()
PARTICIPANTS.HOME.getId()
is an enum and returns an integer.
If I replace
this line with the value that it would return the rule runs perfectly.
Do I have to
reference this in a certain way because it is an integer?
(Note all
imports are present and correct)
Thanks,
Alex