question

Eric S4 avatar image
0 Likes"
Eric S4 asked tannerp commented

How to pull LIFO from a list in process flow?

I am trying to create pull from a list in Flexsim. I want it to pull however in LIFO. I seem unable to get this to work. I have included a file that has a basic example.

FlexSim 18.1.1
process flow pull from listlifo
lifo-example.fsm (23.9 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

tannerp avatar image
3 Likes"
tannerp answered

In order to follow a LIFO system using Process Flow, I would do the following:

1) In the "Advanced" settings tab of the list, you can add a Field using the green plus symbol. Add an expression field which measures "age". Make sure that the box next to "Dynamic" is checked. It should look like the image below when you've completed this step.

2) You can see the items and their measured values by clicking "View Entries..." on the list activity. You can see in the next image that the age is being calculated and tracked.

3) Go into the properties of the "Pull from List" activity and you'll find the "Query" box. Use the pick-list next to this box and select ORDER BY and then "age" and verify that it is in ascending order. It should look like the image below. The product that the arrow is pointing to in the image is the next item that will be pulled because it has been in the queue for the least amount of time.

Hopefully this helps and isn't too wordy or brief of an explanation. If you need additional support, let us know! I've attached your updated model below as well for reference.

Model: lifo-pull-from-list.fsm


5 |100000

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