This content has been marked as final. Show 1 reply
hi, I am new to JBPM.
I need create a timer, and here is my process defination.
<start-state name="start"> <task swimlane="productcreator"> <controller> <variable name="product_id" /> <variable name="product_state" /> </controller> </task> <transition name="test" to="NotifyingTest1"></transition> </start-state> <state name="NotifyingTest1"> <timer name='reminder' duedate='60 seconds' repeat='10 seconds' transition='InformPackageArrival' > <action class='com.foo.mypackage.RunNotifyingTestHandler' /> </timer> <transition name="" to="end"></transition> </state> <node name="InformPackageArrival"> <action class="com.foo.mypackage.RunPackageArrivalHandler"> <msg>send email to inform a valid package arrived.</msg> </action> <transition name="to_End" to="end" /> </node> <end-state name="end"></end-state>
I start a scheduler servlet through web.xml . but seems my action handles never got called. I found there are some timer created in JBPM_TIMER table.
please give me a help.