Run workflows as a while or a for loop help

Thanks NigelG

There are quite a lot of labnumbers.
The model is as follows:

Customer has: 1 x labnumber
Reseller has: 1 x batchnumer that includes x amounts of labnumbers. Most often a batch contains 10 labnumbers.

The actuall labnumbers are just last labnumber + 1. But the amount of labnumbers is a typed number.

Distributor needs to be linked to the batchnumber - and preferably to each of the labnumbers as well.

The lab numbers are created when a reseller or distributor orders new dna sampling kits - each kit needs a premade labnumber, or serial number if you wish. This labnumber is printed and added to the kit before reseller, distributor and customers receive the kit.