jBPM 4.3 Task Notification tag being ignored

Posted by user291780 on Stack Overflow See other posts from Stack Overflow or by user291780
Published on 2010-04-16T17:31:30Z Indexed on 2010/04/16 17:33 UTC
Read the original article Hit count: 397

Filed under:

I have a task with a notification entry but no emails are being generated and no entries in logs. Emails from mail node work fine. What am I doing wrong? Do I have to do anything special to my custom AssignmentHandler impl for notifications?

  <mail g="216,156,80,40" name="Send email">

        <to addresses="[email protected]" />

        <subject>Testing the mail activity</subject>

        <text>This message was sent by the jBPM mail activity tester</text>

        <transition g="-78,-18" to="User Review" />

  </mail>





  <task g="210,250,92,52" name="User Review">

        <description>User Review Task Description</description>

        <assignment-handler

              class="com.kevinmoodley.BPMTaskAssignmentHandler">

              <description>Review AI Process Failure Assignment Handler</description>

        </assignment-handler>

        <notification>

              <to addresses="[email protected]" />

              <subject>Testing from task</subject>

              <text>This message was sent by the jBPM User Review task</text>

        </notification>

        <transition g="-42,-18" name="CANCEL" to="end1" />

        <transition g="-42,-18" name="RESTART" to="end2" />

  </task>

Thanks

Kevin

© Stack Overflow or respective owner

Related posts about bmp