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

--------------------------------------------------------------
Hi,

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) ->
            End


Below is the snippet of code to start the process.

    KnowledgeBase kbase = readKnowledgeBase();

    StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();

    ksession.startProcess("com.sample.ruleflow");

    ksession.fireAllRules()

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.

Pete
--------------------------------------------------------------

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

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

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

Reply via email to