[rules-users] Drools-Fusion : Inserting an Event in to an "entry-point" stream in the RHS of a rule?? Pls help

Esteban Aliverti esteban.aliverti at gmail.com
Thu Aug 4 05:21:04 EDT 2011


This should work:

when
   ...
then
    TransactionEvent evt = new TransactionEvent();
   evt.setMessage("Temporal Reasoning");
    kcontext.getKnowledgeRuntime().getWorkingMemoryEntryPoint("Temporal
Reasoning").insert(evt);
end


Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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


On Thu, Aug 4, 2011 at 10:38 AM, Amila Suriarachchi <
amilaSuriarachchi at gmail.com> wrote:

> This post has done some time ago. is there a solution for this currently?
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Drools-Fusion-Inserting-an-Event-in-to-an-entry-point-stream-in-the-RHS-of-a-rule-Pls-help-tp61920p3224799.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/20110804/c3cc27c2/attachment.html 


More information about the rules-users mailing list