I have a requirement of run rules on dynamic map instead of POJO, for example:<br><br><div style="margin-left: 40px;"><b>when<br>    Map(</b> TransCode == &quot;LOGIN&quot; , userName == &quot;wangzx&quot;, password == &quot;123456&quot; )<br>
<b>then<br>    doSth1()<br><br>when<br>   Map( </b>TransCode = &quot;SaveOrder&quot; userName == &quot;wangzx&quot; category == &quot;Book&quot;)<br><b>then<br>  doSth2()<br><br></b></div>the Fact is not a Java Bean, but a dynamic map&lt;String, Object&gt;, so the TransCode == &quot;Login&quot; is what we means map(&quot;TransCode&quot;) == &quot;Login&quot;.<br>
<br>By using map insteam of POJO, we can build a rules run on the message dispatch, since there is a lot of Message Types, and each message type has different schema, so using dynamic types is more flexible than POJO.<br>
<br>Can someone tell me how can it be supported in drools? Very thanks.<br>