After adding the logging.properties to my classpath , I see the log messages now.
And, it appears that the engine picked up the business rule task. my drl file is like this :
package com.x.workflow
import com.x.api.dto.User;
1 rule "validate_user"
2 when
3 System.out.println("executing the rule");
4 user : User(getName().equals("test123") == false)
5 then
6 user.setDescription("changed in workflow");
7 System.out.println("user is not test123");
8 end
I am basically trying to see if I can access the methods of my class from the rule file.
But I don't see the print statements or the effect of the setter call in line 6.
where should I step in my debugger to see if the rule is being executed and what process data is available for the rule .