My batch size in not correct

My batch size in not correct

wei_ting_l
Not applicable
12 Views
2 Replies
Message 1 of 3

My batch size in not correct

wei_ting_l
Not applicable

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?

15247-help.png

I've also attached my model here10-24-dynamic.fsm

0 Likes
Accepted solutions (1)
13 Views
2 Replies
Replies (2)
Message 2 of 3

jing_chen
Not applicable
Accepted solution

hi @wei-ting L

If you try to reorder "Create Tokens" and "Assign Labels on Token" and add "BatchSize>250" after that, it will realize what you want.

15252-capture.png

Let me know if any other question about this pf logic.

Message 3 of 3

wei_ting_l
Not applicable

Hi Jing,

Thank you ! I was able to achieve the same result by adding a line from "create tokens" to "BatchSize" nodes. Thanks.

0 Likes