question

JIANYUAN, HALLEY L avatar image
0 Likes"
JIANYUAN, HALLEY L asked JIANYUAN, HALLEY L commented

How come the global list doesn't register after pushing items to it?

Hello all,

Why doesn't the push to global list work when I've added an "On Entry" trigger on queue1 which pushes the items to ItemList1?

model-5.fsm

FlexSim 20.0.0
process flowglobal list
model-5.fsm (36.3 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.

1 Answer

·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered JIANYUAN, HALLEY L commented

The items are being pushed onto the list, you're just instantly pulling them off the list in the PullItem activity in Process Flow.

You can see this in the input and output stats if you look at the Process Flow List's statistics:


throughput.png (6.1 KiB)
· 4
5 |100000

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

JIANYUAN, HALLEY L avatar image JIANYUAN, HALLEY L commented ·

@Matthew Gillespie

Thanks for taking a look! However, when I "view entries" for the list with ageInQueue, I didn't receive any feedback, even when the queue is full of items waiting.

Also, it seems as if it is ignoring all the queries and restrictions I've placed. Namely sending items to sink 3 when time >= 300 and items to move to processor 1 when global table [1][1] >= 1.

Was this not a result of the fact that the global list is not working as intended?

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ JIANYUAN, HALLEY L commented ·

You don't see anything on the entries list because you are instantly pulling items off the list as soon as they get pushed on.

You have 2 Pull from List activities in Process Flow. The Pull From List activity is using a query and never pulls anything off the list. The PullItem activity is not using a query and can pull anything it wants. You also have that token in a loop that keeps pulling over and over.

The global list is working as intended. Your modeling logic is not working the way you want.

1 Like 1 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ JIANYUAN, HALLEY L commented ·

If you're having trouble getting this model to do what you want, please post a new question describing what you're trying to do and we can help you design the model logic to do that.

0 Likes 0 ·
JIANYUAN, HALLEY L avatar image JIANYUAN, HALLEY L Matthew Gillespie ♦♦ commented ·

Thank you for suggesting! I will do that now.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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