cancel
Showing results for 
Search instead for 
Did you mean: 

parallel review... sort of.

lucille_arkenst
Champ in-the-making
Champ in-the-making
Hello everyone,

I have a parallel review workflow.  Once a certain number of people approve, I want it to act sort of like a group parallel review, such that the task disappears from the other people in the group's task list once approved.

How can this be done?

Thanks!
3 REPLIES 3

sethatrothbury
Champ in-the-making
Champ in-the-making
It would have to change from a Parallel review to a Pooled review. You'd need two completely separate task-node sections with logic in a decision node for when to jump from one to the other.

lucille_arkenst
Champ in-the-making
Champ in-the-making
Hi Seth Smiley Happy

One of the questions that had been driving me bonkers is what makes a task "parallel" and what makes it "group"… and I thought I figured it out but now I think I am wrong.

For this conversion from parallel review to "pooled" review that you described… could you please provide pseudo-code?  That might help me to understand.

Thank you!

lucille_arkenst
Champ in-the-making
Champ in-the-making
I think I got it:


    <!– PARALLEL REVIEW –>
    <action class="org.alfresco.repo.workflow.jbpm.ForEachFork">
      <foreach>#{people.getMembers(people.getGroup('GROUP_blah'))}</foreach>
      <var>reviewer</var>
    </action>
    <event type="node-enter">
Transition to node…

  <!– GROUP REVIEW –>
  <task-node name="somebody_review">
  <task name="blah:somebody_Review" swimlane="aSwimlane" />
The swimlane versus the foreach makes the difference Smiley Happy