How do I pull Last In/First Out (LIFO) from a Queue?

Pulling Items Last In/First Out

The last entity to enter the storage is the first to exit or leave. Thus entities entering 1, 2, 3 exit in the order 3, 2, 1. Useful when it is important to model entities that are processed last in, first out.

Suggested Technique

  1. Select the storage where you want to use the LIFO method.
  2. Click on the Queuing order list box on the General tab of the properties sheet and select LIFO as shown below.

Example: Orders arriving in a basket (the storage) are processed last in, first out. The last order to be placed is pulled from the top of the stack to be processed.

TO DO: Select the storage and on the General tab of the properties sheet, select LIFO from the Queuing order list box.

Was this article helpful?

Related Articles

Go to Top