Hello, Now I'm trying to use the sendevent feature of swamp but I'm afraid that I do something wrong. The triggering never happens. I changed the offset to 1 minute for testing. I have the following in my workflow.xml:
------------------------------------------------------------------------------- <node name="sales_paper_contract"> <description>Sales</description> <notification name="notify_sales_paper_contract" msgtemplate="notifications/check_if_paper_contract_received"> <recipient recipientname="knyihar" eventtype="none"/> </notification> <dataedit name="contract_arrived_in_paper_format" eventtype="DATAEDIT2b_OK" role="user"> <description>A papír alapú szerződés beérkezésének nyomonkövetése</description> <longdesc>A signed contract should arrive in papre format. It is sales' responsibility.</longdesc> <field path="ADSLorderdataset.adsl.contract_arrived_in_paper_format" mandatory="yes" /> <field path="ADSLorderdataset.adsl.comments" mandatory="no" /> </dataedit> <sendevent name="reminder_sales_paper_contract_delay_1d" eventtype="SALES_PAPER_CONTRACT_DELAY_1D"> <triggerdate databit="System.sales_paper_contract.enterDate" offset="+1m" onlyweekdays="true"/> </sendevent> <edge to="sales_paper_contract_delay_1d" event="SALES_PAPER_CONTRACT_DELAY_1D"> </edge> </node> <node name="sales_paper_contract_delay_1d"> <description>Reminder</description> <longdesc>Sales should be reminded here.</longdesc> <notification name="notify_sales_paper_contract_delay_1d" msgtemplate="notifications/reminders/sales_paper_contract_delay_1d"> <recipient recipientname="knyihar" eventtype="none"/> </notification> </node> ------------------------------------------------------------------------------- swamp.log shows: 09.03 13:25:29 [DEBUG] Storing Task: #0 (action: SendEventAction #reminder_sales_paper_contract_delay_1d) 09.03 13:25:29 [DEBUG] Trigger-BaseDate is: Thu Mar 09 13:25:29 CET 2006 09.03 13:25:29 [DEBUG] Extracted offsetNumber 1 09.03 13:25:29 [DEBUG] Will set triggerOffset to 60000 09.03 13:25:29 [DEBUG] TriggerDate is: Thu Mar 09 13:26:29 CET 2006 09.03 13:25:29 [DEBUG] SendEventAction reminder_sales_paper_contract_delay_1d not triggered! (not yet) 09.03 13:25:29 [DEBUG] Storing Task: #20 (action: SendEventAction #reminder_sales_paper_contract_delay_1d) 09.03 13:25:29 [DEBUG] Wf-3:Finished Handling event DATAEDIT1_OK 09.03 13:25:29 [DEBUG] Updated Node with id: 48 09.03 13:25:29 [DEBUG] Updated Node with id: 57 09.03 13:25:29 [DEBUG] Updated Node with id: 61 09.03 13:25:29 [DEBUG] Updated DataCondition #192 09.03 13:25:29 [DEBUG] Updated DataCondition #193 09.03 13:25:29 [DEBUG] Updated DataCondition #195 09.03 13:25:29 [DEBUG] Updated DataCondition #196 09.03 13:25:29 [DEBUG] Updated DataCondition #205 09.03 13:25:29 [DEBUG] Updated DataCondition #207 09.03 13:25:29 [DEBUG] Updated DataCondition #208 09.03 13:25:29 [DEBUG] Updated DataCondition #248 09.03 13:25:29 [DEBUG] Updated DataCondition #255 09.03 13:25:29 [DEBUG] Wf-3: Handling event DATA_CHANGED 09.03 13:25:29 [DEBUG] Wf-3:Finished Handling event DATA_CHANGED 09.03 13:25:29 [DEBUG] Updated DataCondition #248 09.03 13:25:29 [DEBUG] Updated DataCondition #255 09.03 13:25:29 [INFO ] Webapp: Done with working on task with id 15 09.03 13:25:29 [ERROR] ************************************************ 09.03 13:25:29 [ERROR] Did not find helpfile in path: workflows.ADSLorder.Index 09.03 13:25:29 [ERROR] ************************************************ 09.03 13:26:47 [ERROR] ************************************************ 09.03 13:26:47 [ERROR] Did not find helpfile in path: workflows.ADSLorder.Index 09.03 13:26:47 [ERROR] ************************************************ 09.03 13:27:01 [INFO ] Drawing graph to /usr/local/apache-tomcat-5.5.15/webapps/webswamp/WEB-INF/../var/graphs/ADSLorder3-9_13.png 09.03 13:27:02 [DEBUG] Dot exitValue: 0 09.03 13:27:02 [INFO ] Drawing graph to /usr/local/apache-tomcat-5.5.15/webapps/webswamp/WEB-INF/../var/graphs/ADSLorder3.png 09.03 13:27:03 [DEBUG] Dot exitValue: 0 ------------------------------------------------------------------------------- When I set the offset to 0 minute the triggering happens but the notification is not sent out. Can you help here please? What I do wrong? (Of course the sales_paper_contract node is active.) Many thanks for your help. Regards, Gyorgy ------------------------------------------------------- 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&kid0944&bid$1720&dat1642 _______________________________________________ swamp-devel mailing list swamp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/swamp-devel http://swamp.sf.net