[jboss-user] [JBoss jBPM] - Re: problem using mail inside timer

tongz do-not-reply at jboss.com
Thu Jan 10 10:31:46 EST 2008


That's exactly the problem - I can't define mail in timer.

I tried:

	<state name="resolve-issue">
  | 		<event type="node-enter">
  | 			<mail name="notification"
  | 				to="user1 at localhost"
  | 				template="notification">
  | 			</mail>
  | 		</event>
  | 		<timer name="timer-reminder-1" duedate="5 seconds">
  | 			<mail name="reminder-1"
  | 				to="user1 at localhost"
  | 				template="reminder">
  | 			</mail>
  | 		</timer>
  | 		<transition to="end"></transition>
  | 	</state>
  | 

But it's not valid format - mail not allowed in timer. So in this case, I have to write an action to send email?

Thanks.


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

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



More information about the jboss-user mailing list