question

Jimmy jang avatar image
0 Likes"
Jimmy jang asked Logan Gold commented

pull from list question

Good day


i am making a model which using pull from list.

The push value is token.XX.subnodes.toArray()


and while pulling i have write the query

WHERE Type BETWEN Table("xx")[token.x][token.y] AND Table("xx")[token.x][token.z]
but it failed so i have change the query to

WHERE Type BETWEEN token.Min AND token.Max

but it is keep failing

may i know what i am doing wrong?


Best regards



FlexSim 24.2.1
pull from list
· 3
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jimmy jang commented

A query expects a string. You can compose a string. Instead of evaluating a table value in a query directly you can assign table values to a numerical variable and convert this into a string.

  1. string.fromNum(num value) 
  1. string combineStr = string1 + string2 + string3; 

If your query with static values is working, a concatenated string should work, too.

Here is an example:

Pull_between_lookup_table.fsm


· 3
5 |100000

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