parvathy j a [http://community.jboss.org/people/parvathy] created the discussion

"mail inside timer in jbpm4.4"

To view the discussion, visit: http://community.jboss.org/message/572634#572634

--------------------------------------------------------------
Hi,   
I have a process in which i have a timer on start of a particular node and i 
have a mail node inside the timer..so when the timer expires i want to send a 
mail..the timer is being called correctly..but when the timer expires the mail 
is not send and the event listener is also not being called...could anyone 
please help me with this scenario..

My jpdl file is

process name="MyTaskNotification" xmlns=" http://jbpm.org/4.4/jpdl 
http://jbpm.org/4.4/jpdl";

  <start g="20,20,48,48">
    <transition name="to_review" to="review">
 </transition>
  </start>

<task name="review" assignee="#{order.owner}">
<on event="start">
<timer duedate="1 minutes">  
<mail template="myTemplate"/>
<event-listener class="com.sis.crm.sca.launch.task.LogChecking">
<field name="msg"><string value="inside timer of task node start 
event"/></field>
</event-listener>
</timer>
</on>
<transition name="to_secondTask" to="secondTask">
</transition></task>

<task name="secondTask"
       assignee="paru"
        g="96,16,127,52">  
     <notification template="rectify-template"/>
<transition to="wait"/>
  </task>

  <state name="wait" g="255,16,88,52"/>

</process>

Thanking you
Parvathy
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/572634#572634]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to