question

Marc R5 avatar image
0 Likes"
Marc R5 asked Ryan Clark commented

create token for each queue in my model

I need to create a token for each queue I have in my model, so then I can pass them to create a list of my empty queues.

Thanks!

FlexSim 22.0.1
listsqueuestoken
· 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.

Marcello Rosadini avatar image
0 Likes"
Marcello Rosadini answered Marc R5 commented

Hi Marc,

one possible solution is to create a group with the queues and then generate as many tokens as GroupMembers and then pushing the reference to the queue to the list like in this example:

011H support.fsm


011h-support.fsm (30.7 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.

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Use an instanced object process flow instead of a general flow. Then you refer to the queue as 'current' anywhere you need a reference. The are a few benefits - if you were to have many queues and therefore lots of tokens you can more easily track the token of an instance by viewing just that queue's process flow instance.

· 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.