question

N W avatar image
0 Likes"
N W asked Matthew Gillespie answered

Pull from list into sink not working

I would like to know why I cannot use a pull from list wihtin the sink to get flow items to move into the sink. I have attached an example using an SQL where condition. (Where queueSize > 19)

Is there anything I need to add to make this work?question-on-sink-from-list.fsm

FlexSim 20.0.3
queuelistquerypull from listsink
· 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.

Braydn T avatar image Braydn T commented ·

@N W I am not sure why it is not working (I will look more into it) But why are you using a list as opposed to opening closing ports, etc?

0 Likes 0 ·

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

Since you're using standard port logic to move the items to the sink you should push the items to the list in the queue's Send To Port field and not in its OnEntry trigger.

sendtoport.fsm

Keep in mind though, that as the model currently stands the sink will never be able to pull the first 19 items. See this other question for more information.


sendtoport.fsm (26.6 KiB)
5 |100000

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