"danceinwind" wrote : 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. | | Thanks, | ys [
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930233#3930233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930233 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
