The consequence section of a rule (i.e. right hand side) is simply a block
of code (in whichever dialect you're using).

Can you elaborate on what is not working? Your code looks perfectly good
Java (in isolation of anything else).

Are you setting your globals to instances of their applicable classes
outside of the rules after setting up the KnowledgeBase?

On 19 October 2010 16:04, nkumar <nku...@objectwave.com> wrote:

>
> I just want to create an object and set the status messages in that object.
> in every rule fired by the rule engine. dont want rules to see those
> objects.
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/How-can-i-create-a-new-object-in-consequence-part-tp1728632p1732801.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to