4 Replies Latest reply on Jan 23, 2012 6:31 AM by Sridhar J

    JBPM Business Rule Task clarifications

    Mahi M Newbie

      Hi Everyone,

       

       

                   I want to use a Business Rule Task after a start node and I want to route my flow to different nodes based on the conditiones  evaluated in the drool file of the rule task, But as per the documentation the Business Rule Task can have only one incoming and one outcoming connection, I want to know how it can be done.

       

      Also, Please educate me on the EventListener methods, such as beforeNodeLeft, beforeNodeTriggered etc.

       

                   Please provide an example wherein we are using the EventListener methods. and Routing condition based on the rule file evaluation. Also when i use the ksession.fireAllRules method, all rules are getting fired, so i want to know is there any alternate solution to fire rules without explicitly mentioning ksession.fireAllRules method.

       

       

      Thanks

       

      Mahesh