question

Beatriz Aof avatar image
0 Likes"
Beatriz Aof asked Felix Möhlmann answered

Pull Second from List ordered

Hi, how can I pull the second entry from an ordered by distance ASC list through the pull from list activity?

FlexSim 22.2.1
listprocess flow pull from list
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

You can use two "Pull from List" activities in succession. The first pulls the two highest entries but leaves them on the list. The second then actually pulls the second off the list. You should make sure that only one token at a time moves through the activities though. For example by adding a zone with a max. content of 1 around them.

The screenshots below also account for the case where there is only value (which would get pulled).

1661496812544.png


1661496812544.png (53.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.