question

Sabrina S avatar image
0 Likes"
Sabrina S asked Sabrina S commented

Missing Content in the List while Pulling

Hello all,

while pulling something from a list, the Content is not on the List anymore.
We tried more than one list, but same behavior with every list, see the 3 lists in screenshot.

1728981827833.png

The list is filled while objects entering a queue. When we choose e.g. the list that is filled from 3D, it hasn't the content, while you can see in the disconnected sources, that there would be objects at the queue available. When connecting another list, it is same situation but with the list connected.


The list was working in many runs before.
Do you have any idea how to solve?

FlexSim 24.1.1
pull from listcontent error
1728981827833.png (110.2 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Sabrina S commented

There are 100 tokens in each source, so I presume that 100 items entered. There are also 10 tokens that have passed the first Pull from List activity. Each of which would have pulled 10 entries as specified in the properties, leaving the list empty.

So the situation in the screenshot seems like what would be expected based on the available information.

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sabrina S avatar image Sabrina S commented ·

Thank you Felix, you are right, we had a logical fault in there.

(After a decide (if more than 10 in queue) it should create a token to a subflow which pulls the 10 from the list. Unfortunately it circles again to the decide, so the next decide reacts already and creates a token for each element that is bigger than 10, and not only "every 10".
We need to check how to solve, as the process reaches the decide only when 100 are already in.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Sabrina S commented ·
Maybe replace the Decide with the Pull from List (with a maximum wait time) directly? If 10 items can be pulled, create a token in the subflow, otherwise skip to a different part of the flow.
0 Likes 0 ·
Sabrina S avatar image Sabrina S Felix Möhlmann commented ·
Good idea, thank you very much
0 Likes 0 ·