Current Work Item

This contains information Simul8 uses about the Current Work Item. It is changed by Visual Logic that selects the current Work Item (such as Select Current Work Item and Add Work Item to Queue) and is available during processing Visual Logic that use the Current Work Item (such as SET: and On Work Complete).

If it is not set it is equal to zero. This means you can write logic like:

Select Current Work Item Storage Bin 1 3

If Current Work Item <> 0
   Do something with a Work Item if there was one at position 3