I think that the overloaded method for starting a process
ksession.startProcess( String name, Map<String,Object> name2var )
is what you want.
-W
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users