question

Esqueda avatar image
1 Like"
Esqueda asked Esqueda answered

Pull specific vale from a list using Query

I need to know how to pull an specific value depending on the label of a token but im not sure of the syntaxis needed for that, I dont know how to write the condition or is it possible to do so, the token already comes with the label "Clientex" and I want to select the label size from a list depending on the label of Clientex of each token, this for checking if theres available inventory for that client in specific, pulling it from a total inventory list1702344986098.png1702345000721.png


FlexSim 23.2.2
querylist pull from listsyntaxis
1702344986098.png (56.0 KiB)
1702345000721.png (21.0 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 @Esqueda, was Felix Möhlmann'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 ·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered

Any variables you want to pass into the query have to be in relation to the "puller". You set what the puller is in the respective field in the activity. By default it is the token, so all you have to do is to replace "token.Clientex" with "puller.Clientex".

5 |100000

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

Esqueda avatar image
0 Likes"
Esqueda answered

That worked perfect, thanks a lot!

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.