Hi, I am facing a problem with one of the features in the task sequence (TS) global list. When I try to use age, distance, both works pretty well but not for LoadToUnloadDistance.
The sample model works quite simple. The item should flow from Queue1 to Rack and from Rack to Queue2, all sent by ASRS. ASRS should choose the task sequence based on the closest distance from both TS. I have put the pusher TS in Queue1 and Rack, and the puller in ASRS on resource available trigger. However, the error shows: time: 3.233844 exception: FlexScript exception: Array index out of bounds at MODEL:/Tools/GlobalLists/TSList1>variables/fields/loadToUnloadDistance/expression.
Note that I do not want to use process flow here for a certain reason, so please give a suggestion without process flow approach. I have attached the figure sample model below. I don't know why I cannot upload the fsm model here, there is an error. Thank you.