question

Simpson S2 avatar image
0 Likes"
Simpson S2 asked Ryan Clark commented

Pull flowitem from list ordered by ascending number

Hi

test_model.fsm

I want to pull flowitems from list ordered by ascending number and then place them from Queue 1 to Queue 2 by Operator.

1645964856134.png

When flowitem arrive Queue1, it will be assigned a random number as label "Type" and then push to list. 1645964908069.png

1645965060549.png

When the amount in Queue 1 reach to certain number, a token is fired to pull flowitems from list ordered by Type number. I am using query "SELECT item ORDER BY Type ASC" but it is not working. Could anyone help me? Thank you so much! 1645965031139.png

FlexSim 20.1.3
pull from listordering
1645964856134.png (61.9 KiB)
1645964908069.png (29.1 KiB)
1645965031139.png (39.5 KiB)
1645965060549.png (46.3 KiB)
test-model.fsm (61.1 KiB)
· 1
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jason Lightfoot commented

Please don't be too smart. Just use a given picklist Option and adjust it. You don't need SELECT nor a value. You need only a field name of entry in your list.

· 2
5 |100000

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