OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

bpel4people message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [bpel4people] NEW ISSUE: What's the interaction of routing patternswith composition?


All,
    Give the following task element with both a 3-person parallel routing pattern and a 3-person parallel composite task:
<task>
    <peopleAssignments>
         <potentialOwners>
              <parallel type="all">
                    <htt:users>
                     <htt:user>A</htt:user>
                     <htt:user>B</htt:user>
                     <htt:user>C</htt:user>
                    </htt:users>
             </parallel>
          </potentialOwners>
     </peopleAssignments>
     <composition type="parallel" activationProperties="automatic">
         <subTask name="a" multiInstance="sequential">
             <task>
                 <peopleAssignments>
                    <potentialOwners>
                       <parallel type="all">
                          <htt:users>
                          <htt:user>D</htt:user>
                          <htt:user>E</htt:user>
                          <htt:user>F</htt:user>
                         </htt:users>
                      </parallel>
                   </potentialOwners>
               </peopleAssignments>
            </task>     
          </subTask>
      </composition>
 
In this case, how many tasks are created?
Options:
1) 6.  Three for the first parallel, three for the second parallel, all in parallel with eachother.
2) 12.  Three for the first parallel, and three for each of these members of the routing patterns parallel.
3) 0.  It is an error to use both.
4) 3.  Three for the first parallel, and the composition is ignored because of the routing pattern.
5) 4.  One task for the root task element (no routing pattern, potential owners = A or B or C) and three for the composition.
 
 
Thanks,
Phil


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]