[rules-users] Re: Drools Flow Trigger process by ruleset

Wolfgang Laun wolfgang.laun at gmail.com
Wed May 13 10:35:27 EDT 2009


I think that the overloaded method for starting a process
   ksession.startProcess( String name, Map<String,Object> name2var )
is what you want.
-W


On Wed, May 13, 2009 at 4:17 PM, Brad Stone <bstone at menloware.com> wrote:

> Shannon Lal <shannonlal2909 <at> gmail.com> writes:
>
> >
> >
> > Brad,Can you provide some more information on what you are trying to
> accomplish by doing this?Thanks
> > On Wed, May 13, 2009 at 2:10 AM, Brad Stone <bstone <at> menloware.com>
> wrote:
> >
> > When calling kcontext.getKnowledgeRuntime().startProcess() from the rule
> > consequent can you also pass bound variables from the rule's LHS?
> > _______________________________________________
> > rules-users mailing listrules-users <at>
> lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
>
> Sure, my rules detect problems with objects of various types. If a problem
> is encountered, I want to execute a repair workflow, but the workflow
> (Drools
> flow) needs to be aware of which object to operate on. So the rule needs to
> bind to a specific object and pass that object to the flow.
>
>
>
> _______________________________________________
> 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/20090513/e2596a69/attachment.html 


More information about the rules-users mailing list