[jboss-user] [Beginner's Corner] - Drools flow Using Timer node

Pete P do-not-reply at jboss.com
Tue Sep 13 10:42:45 EDT 2011

Pete P [http://community.jboss.org/people/pete_p] created the discussion

"Drools flow Using Timer node"

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


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.


Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110913/ca66d2a2/attachment.html 

More information about the jboss-user mailing list