Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am not sure if FlexSim queue has a built-in function or menu to sort the flowitems as they enter the queue. I couldn't find one, so I made a simple looping script to change the rank of the entering flowitem based on its label value. It does work, and it changes the rank of the flowitem in the subnode tree correctly. But the visual position of the flowitem doesn't change. I tried "updatelocations(item)" cppfunction after the sort, but it doesn't work. I am sure I don't understand what the updatelocations() cppfunction does. Is there a script/function to update the flowitem position in a queue after the rank is changed so that the position of the flowitem is aligned with the rank?
Solved! Go to Solution.