question

Lambert avatar image
0 Likes"
Lambert asked Jason Lightfoot answered

Pull from list based on quantity

Hi, this might be a very simple question but I'm stuck. Hopefully someone can help me?

How can I pull from a list two pallets, only when there are two in the list ready for the same arc and in the same partition?

In the example below, I would like to pull EuroPallet and EuroPallet3 from Partition 1, because there are already two ready for the same arc (5).

The same way, pull EuroPallet and EuroPallet4 from partition 2.

1647334791957.png

I am using process flow for push/pull.

FlexSim 22.1.0
lists
1647334791957.png (12.0 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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

One way would be to query the list with the GROUP BY clause and the COUNT() aggregator and use that to build an array on the token for the subsequent pull. To use the table query, the list should be global.

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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