[rules-users] Inserting a fact via a specific entry point inside a rule

Greg Barton greg_barton at yahoo.com
Sun Aug 16 23:27:25 EDT 2009


It's nice that there's a unit test for this, but something so basic should be in the docs.

--- On Sun, 8/16/09, Edson Tirelli <tirelli at post.com> wrote:

> From: Edson Tirelli <tirelli at post.com>
> Subject: Re: [rules-users] Inserting a fact via a specific entry point inside a rule
> To: "Rules Users List" <rules-users at lists.jboss.org>
> Date: Sunday, August 16, 2009, 8:44 PM
> 
> http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/test_EntryPointReference.drl
> 
> 
> 2009/8/16 Mauricio Salatino <salaboy at gmail.com>
> 
> no problem..
> I don't remember the syntax.. so also try with 
> entryPoint["ob1
> stream"].insert(mre);
> without the s in entryPoint
> 
> 
> 
> 2009/8/16 Justin
> King <justin.matthew.king at gmail.com>
> 
> 
> Brilliant! thank you.
> 
> 2009/8/17 Mauricio Salatino <salaboy at gmail.com>
> 
> 
> 
> entryPoints["ob1
> stream"].insert(mre);
> 
> 
> _______________________________________________
> 
> rules-users mailing list
> 
> rules-users at lists.jboss.org
> 
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> 
> 
> 
> 
> -- 
>  - http://salaboy.wordpress.com
>  - http://www.jbug.com.ar
> 
>  - Salatino "Salaboy" Mauricio -
> 
> 
> 
> _______________________________________________
> 
> rules-users mailing list
> 
> rules-users at lists.jboss.org
> 
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> 
> 
> 
> 
> -- 
>   Edson Tirelli
>   JBoss Drools Core Development
>   JBoss by Red Hat @ www.jboss.com
> 
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 


      




More information about the rules-users mailing list