Using one robot to palletise two separate streams of boxes into two palletising positions

I have successfully simulated a single robot to palletise layers of boxes from a single flow. But I now need to connect the robot to another flow of boxes within its reach and palletise those boxes at a new palletising point.

I’ve used while loops, Set Base and Assign Count to get the single palletising operation to work. But not sure how to go to the next step. I wondered if the If, Else commands might help? Many thanks