[rules-users] Help

seagull g.christabelle at gmail.com
Fri Mar 9 09:20:04 EST 2012


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.


More information about the rules-users mailing list