<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Send notifications for unassigned tasks in jBPM 4 [errata]
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/rapa">rapa</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/574907#574907">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Hi,</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">I am using jBPM 4.4 with Seam 2.2, running on JBoss 4.2.</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">I couldn't find anything in the user guide nor examples on internet for this quite standard situation:</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"> </div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">I would like to send a notification for newly created tasks, which are not yet assigned.</div><div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">This is not very useful since I would like to notify users from an assignable group that a task</div><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Sorry, this is an errata corrige of the discussion <a class="" href="http://community.jboss.org/message/574898#574898">http://community.jboss.org/message/574898</a> which I submitted by mistake before finishing the message... Here is the correct text:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am using jBPM 4.4 with Seam 2.2, running on JBoss 4.2.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I couldn't find anything in the user guide nor examples on internet for this quite standard situation:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I would like to send a notification for newly created tasks, which are not yet assigned.</p><p>It seems like jBPM sends notifications only when tasks are assigned to someone. This is not very useful in my case since I would like to notify users from an assignable group that a task is pending. One of them should then take it and work on it.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Here is the task definition.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code jive-xml">&#160;&#160;&#160; <span class="jive-xml-tag">&lt;task candidate-groups="managers" g="243,49,127,52" name="Review Registration"&gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;notification template="jbpm_approvepartreg_task" /&gt;</span>&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;transition name="approve" to="State 1" g="7,-11" /&gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;transition name="reject" to="State 2" g="-13,8" /&gt;</span>
&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/task&gt;</span>
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>And the email template. Basically, the email should go out to the "tos" specified in the email template.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code jive-xml">&#160;&#160;&#160; <span class="jive-xml-tag">&lt;mail-template name="jbpm_approvepartreg_task"&gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag"><span>&lt;from addresses="</span><a class="jive-link-email-small" href="mailto:jbpm@mydomain.com" target="_blank">jbpm@mydomain.com</a><span>" /&gt;</span></span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag"><span>&lt;to addresses="</span><a class="jive-link-email-small" href="mailto:xyz@mydomain.com" target="_blank">xyz@mydomain.com</a><span>" /&gt;</span></span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;subject&gt;</span>Pending Task Notification - ${task.name}<span class="jive-xml-tag">&lt;/subject&gt;</span>
&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span class="jive-xml-tag">&lt;text&gt;</span>Some text here<span class="jive-xml-tag">&lt;/text&gt;</span>
&#160;&#160;&#160; <span class="jive-xml-tag">&lt;/mail-template&gt;</span>
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Anybody has an idea how to deal with this problem?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Cheers,</p><p>Andrea</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/574907#574907">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>