[rules-users] Help
Wolfgang Laun
wolfgang.laun at gmail.com
Wed May 9 13:27:17 EDT 2012
Try to print p.getName().
-W
On 9 March 2012 15:20, seagull <g.christabelle at gmail.com> wrote:
> Hi everyone,
>
> I am new to drools.net and I am testing some basic commands but can't seem
> to find help anywhere! I am trying to print the contents of a variable but
> for some reason, the contents are not printed! The first line (i.e. hello)
> on the other hand is being printed.. Is there a common mistake I may be
> doing?
>
> Thanks!
>
> rule "testing"
> when
> p: Person (name == "john")
> then
> Console.WriteLine ("hello");
> Console.WriteLine (p.name);
> end
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Help-tp3812782p3812782.html
> Sent from the Drools: User forum 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/20120509/44bbf8a1/attachment.html
More information about the rules-users
mailing list