我有一个带有通知条目的任务,但没有生成电子邮件,日志中也没有条目。来自邮件节点的电子邮件工作正常。我究竟做错了什么?我必须对我的自定义 AssignmentHandler impl 做任何特别的通知吗?
<mail g="216,156,80,40" name="Send email">
<to addresses="kevinmoodley@gmail.com" />
<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="kevinmoodley@gmail.com" />
<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>
谢谢
凯文