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 <[email protected]> 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 > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
