question

Vns avatar image
0 Likes"
Vns asked Jason Lightfoot commented

Pull Item from queue based on token label value

Hi - I'm working on a model that pulls item from a queue based on the "pono" number assigned to the resource token.

I have an event trigger that creates token when items a push into a list.

However im not quite sure how to get the resource to load the same flow item based on the token label "pono".

Thanks in advance. test1.png

test1.fsm

FlexSim 23.2.0
queuelabelsprocesss flow
test1.png (80.1 KiB)
test1.fsm (46.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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @Vns, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

Push the items onto the list not the pono. The pull the item with a query clause like:

WHERE value.pono=puller.pono

where the token is the puller.

Also do you need a resource at all ? You can use task sequences and create them on a known disptacher/task executer - you don't have to get a te reference from a resource.

If you've not done the tutorials in the online documentation then you may get some benefit from going through them.

5 |100000

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

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.