question

Anan Y4 avatar image
0 Likes"
Anan Y4 asked Jeff Nordgren commented

Why can't i use global table replace number in Query of pull list ?

Pull list from Rack.fsm

When i use global table replace number in Query Tab, it will error. My objective is value of type must change by value of token.customer Which must lookup value in global table But When use use global table replace number it will error. Help me please.

FlexSim 20.1.1
rackqueryflexsim 20.1.1puller
query-1.png (163.9 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.

Jeff Nordgren avatar image Jeff Nordgren commented ·

Hi @anan.y4, was @joerg.vogel's answer helpful? If so, please click the red "Accept" button on their answer!

1 Like 1 ·

1 Answer

·
Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Joerg Vogel edited

EDIT: My suggestion to use something like that doesn't work.

WHERE Type = Table(“GlobalTable1”)[puller.customer][1]

You have to assign the value of the table cell to another token label. Then you use this label in your condition.

But you still need to parse a token reference as the variable puller in your query:

WHERE Type = puller.tableCell

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.