[rules-users] How can i create a new object in consequence part

nkumar nkumar at objectwave.com
Tue Oct 19 10:43:35 EDT 2010


AvailabilityRuleState s = new AvailabilityRuleState();
			s.setValue("Not Available");
			s.setReason("Type Specific");
			s.setReference("Availability rule FrontAxle and FrontSuspension Type");
			resultState.add(s);



this code is not working..can you please tell me what will be the syntax for
creating a new Object in the rule consequence.


-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-can-i-create-a-new-object-in-consequence-part-tp1728632p1732657.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list