2 Replies Latest reply on Sep 13, 2011 11:23 AM by Pete P

    Drools flow Using Timer node

    Pete P Newbie



      I am experimenting with Drools flow and need some help with the "Timer" node.

      I am using the Timer node basically to introduce a delay.


      The simple flow I have is :-


      Start ->

         Print "Before Timer" (Action Node) -> 

            Configure Timer node ( name = "Name", TimerDelay = "20000", Timer Period = "0" ) ->

               Print "After Timer" (Action Node) ->




      Below is the snippet of code to start the process.


          KnowledgeBase kbase = readKnowledgeBase();


          StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();






      The output is "

          Before Timer"


      but NO "After Timer".

      The process is not getting past the timer node.


      As suggestion or example as why the process is not getting past the Timer node ?


      Many Thanks for your help.