This page last changed on Nov 28, 2013 by florian.


I'm trying to use System.out.println to output a value to the console.

have you any idea how to do that?
Here is my rule:

rule "Etat radiateurs salon"
Switch(source == "Chauffage Salon Cuisine (Etat Pilotage Radiateurs)", value == "on")

System.out.println(Chauffage Salon Cuisine (Etat Pilotage Radiateurs).GetValue()); <----- I'd like to print the switch value here (expected result is "on" or 1)


Many thanks!

I'm not developper but I think you should write into a log file not on console.

Look at this comment :

Posted by bourrin at Nov 28, 2013 19:42
Document generated by Confluence on Jun 05, 2016 09:38