IIRC you will need to annotate the type using a Declarative Model in Guvnor and not using the package header (which is in reality exploiting a hack to include arbitrary DRL).<br><br>Guvnor 6.0 does not have this limitation and marking a Type as an event either via the guided Declarative Model editor or any DRL fragment should work.<br>
<br><div class="gmail_quote">On 19 March 2013 11:55, mahesh_kharat <span dir="ltr">&lt;<a href="mailto:mahesh.kharat@igate.com" target="_blank">mahesh.kharat@igate.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have made ErrorPatternData POJO model to be of type event. I have attached<br>
the screenshot for the same.<br>
<br>
&lt;<a href="http://drools.46999.n3.nabble.com/file/n4022872/ErrorPatternData_As_Event.jpg" target="_blank">http://drools.46999.n3.nabble.com/file/n4022872/ErrorPatternData_As_Event.jpg</a>&gt;<br>
<br>
How to get temporal operator related conditions in guvnor? I have written<br>
rule for the same using drl. It works fine. Same thing I have to achieve<br>
using guvnor.<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Temporal-operator-related-business-rule-using-Drools-Guvnor-tp4022870p4022872.html" target="_blank">http://drools.46999.n3.nabble.com/Temporal-operator-related-business-rule-using-Drools-Guvnor-tp4022870p4022872.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<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>
</div></div></blockquote></div><br>