Hi
Is there an example of how I can use a RuleTask within my process definition? I am trying to execute the following
rule "Test 1" ruleflow-group "Test"
when
WorkItem (status == WorkItem.Status.OPEN)
then
System.out.println("Hello");
end
My process definition looks like this:
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-591490-12600/450-349/sample.png
It seems as though the rule doesn't get evaluated. Also I noticed that I have to manually add
xmlns:g="http://www.jboss.org/drools/flow/gpd" to the xml file whenever I make a change to the process definition.
Any help would be appreciated.
Cheers