If you are using the binary version of your package you should use <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">ResourceType.PKG.</span><div><font color="#222222" face="arial, sans-serif"><br>
</font></div><div><font color="#222222" face="arial, sans-serif">Best Regards,<br clear="all"></font><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">On Tue, Oct 30, 2012 at 7:15 AM, vargheseps <span dir="ltr"><<a href="mailto:vargheseps4u@gmail.com" target="_blank">vargheseps4u@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have created a Model named applicationHealth which contain a class<br>
“com.xyz.rims.model.Application” on Guvnor.<br>
Also created a Business rule asset named ‘ApplicationHealthRule’ which<br>
uses ‘Application’. I have<br>
created a business rule task in a BPMN2 process and gave the<br>
‘ruleflow-group’ as same as a Business rule assets .<br>
<br>
kbuilder.add(ResourceFactory.newUrlResource(DROOLS_COMMON_URL+"ApplicationHealthRule/binary"),<br>
ResourceType.BRL);<br>
I used the above code to add the resource to kbuilder The error I get is:<br>
<br>
[Unable to resolve ObjectType 'Application' : [Rule<br>
name='ApplicationHealthRule']<br>
]<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Error-in-adding-BRL-in-Guvnor-tp4020555.html" target="_blank">http://drools.46999.n3.nabble.com/Error-in-adding-BRL-in-Guvnor-tp4020555.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br></div>