question

Maryam H2 avatar image
0 Likes"
Maryam H2 asked Jason Lightfoot edited

Find Slot Query

If we write two separate queries for the Find Slot object, do they function as OR queries, meaning that if either of them is true, the slot will be found? How can we determine which query will be successful in order to label it, like the queries below?

1689105027306.png

FlexSim 23.1.0
querytokensfindslot
1689105027306.png (27.5 KiB)
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

·
Jason Lightfoot avatar image
2 Likes"
Jason Lightfoot answered Jason Lightfoot edited

They are evaluated in turn from top to bottom when the token enters and when an item exits the storage system. The first query to find a slot prevents the lower queries from also finding slots, and it's OnSuccess trigger is called (allowing you to distinguish between the type of slot that was found).

As mentioned here and described in the manual.

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.