[jboss-user] [JBoss jBPM] - Re: Need help to fix timer issue

Toriton do-not-reply at jboss.com
Wed Mar 18 11:27:05 EDT 2009


Done !! ^_^

Timer every 30 sec send the mail to my account.

this is the definition:

<state name="stateA">
  | 		
  | 		<timer duedate="30 seconds" name="MailSender" transition="to mailTest"></timer>
  | 		
  | 		<transition to="mailTest" name="to mailTest"></transition>
  | 	</state>
  | 
  | 
  | <mail-node  name="mailTest" to="pluto at pippo.com">
  | 		<subject>
  | 			pippo
  | 		</subject>
  | 		<text>
  | 			TEST
  | 		</text>
  | 		<transition to="stateA" name="tostateA"></transition>
  | 	</mail-node>
  | 
  | 
  | 



And on the jbpm.cfg.xml i just specified:


  | 	<string name="jbpm.mail.smtp.host" value="smtp.server.com" />
  | 	<string name="jbpm.mail.from.address" value="pluto at paperino.it" />
  | 


All work fine.



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219140#4219140

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219140



More information about the jboss-user mailing list