I have passed in some lists into the
StatelessKnowledgeSession.execute() method and would like to figure
out how to get access.
I have the following items passed in:
- Player
- EarnedBadges (list)
- Badges (list)
and am trying to do something like this:
not (EarnedBadge(playerId == $player.id, badge == $badge) from $earnedBadges)
but it doesn't know how to evaluate earnedBadges (the name of the
variable I passed in):
[Unable to Analyse Expression $earnedBadges:
[Error: unable to resolve method using strict-mode:
java.lang.Object.$earnedBadges()]
[Near : {... $earnedBadges ....}]
Been searching through the docs on how to do this but I haven't found
anything yet.
Any help is greatly appreciated, thank you! :-).
-warner