[rules-users] Rules stop firing when white-space is changed

Esteban Aliverti esteban.aliverti at gmail.com
Wed Aug 24 02:27:45 EDT 2011


What are the steps you are following? Something like this?:

   1. The agent creates the kbase
   2. Get kbase from kagent
   3. Create a stateless ksession
   4. insert some facts
   5. fire all rules
   6. check result
   7. modify drl
   8. wait until kagent rebuilds the kbase
   9. get the new kbase from kagent
   10. Create a stateless ksession
   11. insert some facts
   12. fire all rules
   13. check result

Also, which version of Drools are you using?

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Tue, Aug 23, 2011 at 9:35 PM, dcrissman <dac at akc.org> wrote:

> It seems that the rules that stop firing are dependent on another rule
> which
> is responsible for creating drools declared objects with a logicalInsert.
> Seems to be the only commonality that I can find.
>
> Oh, and I am using a stateless session.
>
> Example:
>
> declare MyClass
> end
>
> rule "Create Instance"
> when
> //whatever
> then
> logicalInsert(new MyClass());
> end
>
> rule "Dependent"
> when
> MyClass(
> //whatever
> )
> then
> //do something
> end
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Rules-stop-firing-when-white-space-is-changed-tp3278986p3279079.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110824/361a013d/attachment.html 


More information about the rules-users mailing list