question

chia725 avatar image
0 Likes"
chia725 asked Jeanette F commented

Problem Concerning Query and List Expression

Hello,

I have encounter some problem when using pull from list-Query. What I am trying to do is I want the Agv to grab the product type base on the one stated in the fromto global table. I use the trigger in 3D model to label the item. Then I create a List expression to record it like this.

圖片1.png

I registered all the information on the token.

1710174959547.png

But there comes up with some problem when i use the Query.

1710174875510.png

I am wondering if there's anything that need to be fixed with the syntax or any suggestion. My model is attached as below, thank you very much for any of your help!

my model:demo1-0312.fsm

FlexSim 23.1.4
processs flowqueryglobaltable
圖片1.png (894.2 KiB)
1710174875510.png (12.3 KiB)
1710174959547.png (9.2 KiB)
demo1-0312.fsm (66.4 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.

1 Answer

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Felix Möhlmann commented

"item" isn't a valid variable in a list expression. To access the value on the list use value. If all you want to do is read a label of the value then you can use a label field instead of an expression.

The item list actually comes with a field for the "Type" label by default.

1710178248899.png


1710178248899.png (5.7 KiB)
· 4
5 |100000

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