question

Smitthu avatar image
0 Likes"
Smitthu asked Joerg Vogel answered

How to pull oldest age value from list and set to variable?

Hello,

I have a list that represent a conveyors contents, I need to assign the age of the oldest item in the list to a variable within process flow. How would I be able to pull this value individually from the list? the purpose of this variable is to view all the conveyors oldest item and decide which route to take. I tried to use max but it chooses a static max value rather than the current max.

Thank!


1743173432775.png1743173446740.png1743173537956.png


FlexSim 24.2.1
listsprocessflow variable
1743173432775.png (62.5 KiB)
1743173446740.png (33.1 KiB)
1743173537956.png (89.6 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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

You can add a clause in your pull string, which orders your values by a column field in ascending order.

5 |100000

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