There are two things: 1. You want to call this method when a condition is satisfied 2. You want to check this condition and do something.
If you want to do '1' when <<condition>> then boolean val = c.getValueBoolean("string"); end if you want to do '2' when eval(c.getValueBoolean("string")) then <<action>> end I am not sure what you want to do about of these two, hope this helps. If i have not understand your problem could you please provide more details will try to post solution. Regards, Sachin http://technologistics.blogspot.com/ -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Calling-a-method-in-when-part-tp3241883p3242981.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users