[jboss-user] [JBoss jBPM] - Timer action is not called and event mail is also not fired
Arunkumar DSRC
do-not-reply at jboss.com
Mon Mar 23 03:23:59 EDT 2009
Hi,
In a task-node I configured a timer with action. When timer executes the action class is not getting called. Also I have a event configured on which I am trying to send mail which is not happening as expected. But below the same event under mail I have a script with SOP, which I printed, in my log file. I don't know weather I am missing any configuration can any one pls help. I have the code sample, which I have configured.
| <task-node name="timer">
| <task name="task-assign" notify="true">
| <assignment class="com.myconpany.handler.MailHandler"></assignment>
| </task>
| <event type="node-leave">
| <mail name="task-assign" actors="arunkumar at yourcompany.com" >
| <subject>readmylips</subject>
| <text>nomoretaxes</text>
| </mail>
| <script>
| System.out.println("to escalated");
| </script>
| </event>
| <timer duedate="7 seconds" name="timer" transition="to somenode">
| <action class="com.youcomapny.handler.CustomMailHandler"></action>
| </timer>
| <transition to="isapprove" name="to isTsmRoleApprvlornot"></transition>
| <transition to="somenode" name="to somenode"></transition>
| </task-node>
|
Thanks in advance.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220134#4220134
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220134
More information about the jboss-user
mailing list