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

Michael Anstis michael.anstis at gmail.com
Tue Oct 19 11:00:52 EDT 2010


Why does it not work? Are you getting an error? What is your expectation?

On 19 October 2010 15:43, nkumar <nkumar at objectwave.com> wrote:

>
> 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.
> _______________________________________________
> 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/20101019/2d661286/attachment.html 


More information about the rules-users mailing list