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

tongz do-not-reply at jboss.com
Fri Jan 11 13:50:17 EST 2008


Thank you all for the reply.

kukeltje, my understanding from the document is that "mail" is an action and  "mail-node" is a node? Also, here "mail" does work fine in event, but just not valid in timer.

anuragpaliwal, are you saying you implemented this with "mail" or org.jbpm.mail.Mail? I suppose it's the later. The following code works fine using org.jbpm.mail.Mail:

<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">
  | 			<action class="org.jbpm.mail.Mail">
  | 				<to>user1 at localhost</to>
  | 				<template>actor-reminder-1</template>
  | 			</action>
  | 		</timer>
  | 		<transition to="end"></transition>
  | 	</state>

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

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



More information about the jboss-user mailing list