1

通知エントリのあるタスクがありますが、メールが生成されておらず、ログにもエントリがありません。メール ノードからの電子メールは正常に機能します。私は何を間違っていますか?通知のためにカスタム 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>

ありがとう

ケビン

4

1 に答える 1

1

どうでも。MailProducerImpl と呼ばれるデフォルトの MailProducer 実装は、jBPM の内部 ID テーブルに依存していることがわかりました。通知メールを送信する前に、これらのテーブルにユーザーを作成し、これらのテーブルのユーザーまたはユーザー グループにタスクを割り当てる必要があります。私は既存の Active Directory を使用しているため、jBMP ID テーブルを使用していないため、電子メールを受け取りません。解決策: MailProducer の独自の実装を作成します。

于 2010-04-16T20:07:07.787 に答える