Hello,<br><br><br>I get this exception: Exception in thread &quot;main&quot; java.lang.RuntimeException: Unexpected global [service]<br><br>That&#39;s the global declaration in the drl: global java.util.HashMap service<br>
<br>And ther I set teh global in teh Java-class:<br>HashMap&lt;String, AIOObject&gt; service = new HashMap&lt;String, AIOObject&gt;();&nbsp;&nbsp;&nbsp; <br>workingMemory.setGlobal(&quot;service&quot;, service);<br><br>Appreciate your help!<br>
<br>Kind Regards<br>Thomas<br>