AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.


Sean avatar image
Sean asked Andrew O commented

queryItems problem


As showm in the ficture below, I used queryItems to get pallet in yellow box. It's bayID equal to 26 and it's levelID equal to 18. Why it shows error? It's any wrong with my FlexScript? Thank's.queryitem-error.jpg

FlexSim 22.2.0
queryitem-error.jpg (262.4 KiB)
· 2
5 |100000

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

I don't see any mistakes in your code.

Are you usinga customized addressing scheme, so maybe the IDs don't match up?

Does the same error happen when you write the numbers directly into the query instead of passing them in as parameters?

I would try to delete parts of the query, to maybe determine which exact part is causing the error.

0 Likes 0 ·

Hi @Sean,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

0 Answers


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.