<!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;">
    How to assign task to group of user
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/surajaya">surajaya digdaya</a> in <i>Beginner's Corner</i> - <a href="http://community.jboss.org/message/577329#577329">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hello All,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I'm new to Jboss and JBPM, currently trying workflow in Jboss 4.2.3 with JBPM 3.3.1GA. Here is the process definition that I'm trying to run, a very simple process just to test the task assignment :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><blockquote class="jive-quote"><p><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br/><br/>&lt;process-definition&#160; xmlns="urn:jbpm.org:jpdl-3.2"&#160; name="AssignmentTest"&gt;<br/><br/><br/>&#160;&#160; &lt;start-state name="start-state1"&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;task name="testing" blocking="true"&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;description&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; testing<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/description&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;assignment pooled-actors="group(UserRole)"&gt;&lt;/assignment&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;controller&gt;&lt;/controller&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;/task&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;transition to="task-node1" name="to_task1"&gt;&lt;/transition&gt;<br/>&#160;&#160; &lt;/start-state&gt;<br/><br/><br/>&#160;&#160; &lt;task-node name="task-node1"&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;task name="task1" blocking="true"&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;description&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Testing task1<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/description&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;assignment actor-id="user1"&gt;&lt;/assignment&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;controller&gt;&lt;/controller&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;/task&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;transition to="task-node2" name="to_task2"&gt;&lt;/transition&gt;<br/>&#160;&#160; &lt;/task-node&gt;<br/><br/>&#160;&#160; &lt;task-node name="task-node2"&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;task name="task2" blocking="true"&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;description&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Testing task2<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/description&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;assignment actor-id="user2"&gt;&lt;/assignment&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;controller&gt;&lt;/controller&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;/task&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;transition to="task-node3" name="to_task3"&gt;&lt;/transition&gt;<br/>&#160;&#160; &lt;/task-node&gt;<br/><br/>&#160;&#160; &lt;task-node name="task-node3"&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;task name="task3" blocking="true"&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;description&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Testing task3<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/description&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;assignment actor-id="user3"&gt;&lt;/assignment&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;controller&gt;&lt;/controller&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;/task&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;transition to="task-node4" name="to_task4"&gt;&lt;/transition&gt;<br/>&#160;&#160; &lt;/task-node&gt;<br/><br/>&#160;&#160; &lt;task-node name="task-node4"&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;task name="task4" blocking="true"&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;description&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Testing task4<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/description&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;assignment pooled-actors="group(UserRole)"&gt;&lt;/assignment&gt;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;controller&gt;&lt;/controller&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;/task&gt;<br/>&#160;&#160;&#160;&#160;&#160; &lt;transition to="end-state1" name="to_end"&gt;&lt;/transition&gt;<br/>&#160;&#160; &lt;/task-node&gt;<br/><br/><br/>&#160;&#160; &lt;end-state name="end-state1"&gt;&lt;/end-state&gt;<br/><br/><br/>&lt;/process-definition&gt;</code></p></blockquote><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>and here is my form</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><blockquote class="jive-quote"><p>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br/>&lt;!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 1.0//EN"<br/><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; "</span><a class="jive-link-external-small" href="http://www.openkm.com/dtd/workflow-forms-1.0.dtd" target="_blank">http://www.openkm.com/dtd/workflow-forms-1.0.dtd</a><span>"&gt;</span><br/>&lt;workflow-forms&gt;<br/>&#160; &lt;workflow-form task="testing"&gt;<br/>&#160;&#160;&#160; &lt;input label="variable1" name="variable1" /&gt;<br/>&#160;&#160;&#160; &lt;button label="Submit" /&gt;<br/>&#160; &lt;/workflow-form&gt;<br/>&#160; &lt;workflow-form task="task1"&gt;<br/>&#160;&#160;&#160; &lt;input label="variable1" name="variable1" /&gt;<br/>&#160;&#160;&#160; &lt;button label="Submit" /&gt;<br/>&#160; &lt;/workflow-form&gt;<br/>&#160; &lt;workflow-form task="task2"&gt;<br/>&#160;&#160;&#160; &lt;input label="variable2" name="variable2" /&gt;<br/>&#160;&#160;&#160; &lt;button label="Submit" /&gt;<br/>&#160; &lt;/workflow-form&gt;<br/>&#160; &lt;workflow-form task="task3"&gt;<br/>&#160;&#160;&#160; &lt;input label="variable3" name="variable3" /&gt;<br/>&#160;&#160;&#160; &lt;button label="Submit" /&gt;<br/>&#160; &lt;/workflow-form&gt;<br/>&#160; &lt;workflow-form task="task4"&gt;<br/>&#160;&#160;&#160; &lt;input label="variable4" name="variable4" /&gt;<br/>&#160;&#160;&#160; &lt;button label="Submit" /&gt;<br/>&#160; &lt;/workflow-form&gt;<br/>&lt;/workflow-forms&gt;</p></blockquote><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I succesfully deploy that process definition to JBPM, but it turn out that only task :&#160; task1, task2, task3 is assigned to the user. Other task (testing and task4) that should be done by group of user is not assigned.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>What's probably missing or wrong in my process definition ?.</p><p>Thanks in advance for your help</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>regards,</p><p>surajaya digdaya</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/577329#577329">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Beginner's Corner at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>