question

Hannah avatar image
0 Likes"
Hannah asked Andrew O commented

How to acquire resource with specific label?

I have a group of task executers that I've designated as a resource in a process flow. Each object in the group has a label (.te) with a unique value. In the process flow, the tokens I'm sending though the "Acquire Resource" block also have .te labels. I'd like to match the token labels with the object labels using the SQL query aspect of the "Acquire Resource" block. What is the correct syntax for this query?

FlexSim 22.2.2
proces flowsqlresourceacquire resource
· 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.

Andrew O avatar image Andrew O commented ·

Hi @Hannah, was Matthew Gillespie'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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered
WHERE puller.te = te

or

WHERE puller.te = value.te

See this example model

AcquireSpecificLabel.fsm


5 |100000

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