AnsweredAssumed Answered

Parallel review : how is populated the bpm:assignees aspect?

Question asked by zomurn on Oct 6, 2010
Hello,

I'am defining a custom workflow which is close (if not same) as parallel review workflow. This latter defines the following type (workflowModel.xml) :

<!–  Submit review to multiple people (explicit list) –>
      <type name="wf:submitParallelReviewTask">
         <parent>wf:submitConcurrentReviewTask</parent>
         <mandatory-aspects>
            <aspect>bpm:assignees</aspect>
         </mandatory-aspects>
      </type>

So I defined a task with this name  so as to define a parallel workflow in my custom workflow definition (fds-review_processdefinition.xml) :

<task-node name="reviews">
      <task name="wf:submitParallelReviewTask">
         <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
            <pooledactors>
            < …. >
            </pooledactors>
         </assignment>
         <event type="task-create">
            <script>
               if (bpm_workflowDueDate != void) taskInstance.dueDate =
               bpm_workflowDueDate;
               if (bpm_workflowPriority != void)
               taskInstance.priority =
               bpm_workflowPriority;
         </script>
         </event>
      </task>
      <!– <transition name="tr_review_decision" to="review_decision" /> –>
      <transition name="tr_end" to="end" />
   </task-node>

The obvious problem is that the aspect "bpm:assignees" is not populated with values….how do I define them ?

Thx.

I'am developping under Alfresco CE 3.3g with Alfresco Share

Outcomes