Drools and Maps

后端 未结 1 1704
野性不改
野性不改 2020-12-15 07:19

I\'m beginner in this framework and I\'m trying to use a map instead of Java class.

My example looks like that:

Main method:

Map

        
相关标签:
1条回答
  • 2020-12-15 08:14

    You should write something like:

    when
        $map: Map(this["BMI"] < 18)
    then
    

    It should work :)

    0 讨论(0)
提交回复
热议问题