I have a model that breaks batch size information into sub-batches if it goes over 250. Because my maximum load of the combiner is only 250.
However, when I test it, the logic is not correct. If my order information requires a batch of size 450, the system is able to break this into 2 batches (first batch 250, second batch 200 ). This is okay.
However, if my order information requires a batch of size 1000, the system is not performing correctly, it will only break it into two batches, first one 250, the second one 750. My desired logic is that it should be four batches. (250+250+250+250).
Can anyone help me to see which part of my process flow is wrong? How can I use a loop to check my batches to make sure every token's label "batchsize" does not exceeds 250?
I've also attached my model here10-24-dynamic.fsm