Amin Mohammed-Coleman [http://community.jboss.org/people/aminmc] created the 
discussion

"RuleTask example"

To view the discussion, visit: http://community.jboss.org/message/591490#591490

--------------------------------------------------------------
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/showImage/2-591490-12600/sample.png
  
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 
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
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/591490#591490]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to