I have a list with flow items that have different priorities(0-3). The priority has been set in a label called Priority (0-3). I was able to pull the tokens in order using the label "priority" by a TE. The TE has a label "capacity" that determines the number of flow items to pick (4). I am trying to make the TE not to mix "priority" 1 and 2 with 3. In other words if there is not more "priority" 1 and 2 available finish the task sequence and not try to pick 1 or 2 more items of "priority" 3 to complete his TS . Same thing If TE is picking "priority" 3 because there are not 1 and 2 available complete the TS if priority 1 and 2 become available at that moment.
CPU Practice2_31.fsm