----- Original Message -----From: Steven WilliamsTo: Rules Users ListSent: Wednesday, January 28, 2009 11:59 PMSubject: [rules-users] RuleFlow questionHi guys,
I am playing with the OrderExample in drools-examples and was wondering how I get access in my rules to the parameters that are sent to startProcess? e.g.
Map<String, Object> parameters = new HashMap<String, Object>();
parameters.put("order", order);
parameters.put("orderId", order.getOrderId());
parameters.put("email", emailTextField.getText());
ProcessInstance processInstance = ksession.startProcess("org.drools.examples.process.ruleset.RuleSetExample", parameters);
I have access to the ProcessInstance but there doesn't seem to be any clear path to the parameters.
thanks
Steve
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users