<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Question about Storage.system.queryItems in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529904#M38943</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've been testing the Kiva scenario. I have used  the following FlexScript to find all items in the FloorStorage.But I could only find one item (actually there were five in FloorStorage ). &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1642487838642.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1508702i71E201DF16970B59/image-size/large?v=v2&amp;amp;px=999" role="button" title="1642487838642.png" alt="1642487838642.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When i redefine the query parameter inside 'find Item'activity (From [Any Item] to [WHERE item.slot.slotItems.length &amp;gt; 0 ]). It can find all  items correctly. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1642487882284.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1508703iEE91682C906EEDB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1642487882284.png" alt="1642487882284.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: tahoma, 'Microsoft YaHei', 微软雅黑, 宋体, 'Malgun Gothic', sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;"&gt;I'm so confused about this&lt;/SPAN&gt; .Please help.&lt;/P&gt;&lt;P style="box-sizing: border-box; margin: 6px 0px; padding: 0px; word-break: break-all; word-wrap: break-word; font-size: 14px; color: rgb(102, 102, 102); line-height: 20px;"&gt;Thanks a lot.&lt;/P&gt;&lt;P style="box-sizing: border-box; margin: 6px 0px; padding: 0px; word-break: break-all; word-wrap: break-word; font-size: 14px; color: rgb(102, 102, 102); line-height: 20px;"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P style="box-sizing: border-box; margin: 6px 0px; padding: 0px; word-break: break-all; word-wrap: break-word; font-size: 14px; color: rgb(102, 102, 102); line-height: 20px;"&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/47788-storagequeryflagsallitems-v20220.fsm" target="_blank"&gt;StorageQueryFlagsAllItems_V2022.0.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 18 Jan 2022 06:41:59 GMT</pubDate>
    <dc:creator>supportPHJ4A</dc:creator>
    <dc:date>2022-01-18T06:41:59Z</dc:date>
    <item>
      <title>Question about Storage.system.queryItems</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529904#M38943</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.0.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've been testing the Kiva scenario. I have used  the following FlexScript to find all items in the FloorStorage.But I could only find one item (actually there were five in FloorStorage ). &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1642487838642.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1508702i71E201DF16970B59/image-size/large?v=v2&amp;amp;px=999" role="button" title="1642487838642.png" alt="1642487838642.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When i redefine the query parameter inside 'find Item'activity (From [Any Item] to [WHERE item.slot.slotItems.length &amp;gt; 0 ]). It can find all  items correctly. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1642487882284.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1508703iEE91682C906EEDB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1642487882284.png" alt="1642487882284.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: tahoma, 'Microsoft YaHei', 微软雅黑, 宋体, 'Malgun Gothic', sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;"&gt;I'm so confused about this&lt;/SPAN&gt; .Please help.&lt;/P&gt;&lt;P style="box-sizing: border-box; margin: 6px 0px; padding: 0px; word-break: break-all; word-wrap: break-word; font-size: 14px; color: rgb(102, 102, 102); line-height: 20px;"&gt;Thanks a lot.&lt;/P&gt;&lt;P style="box-sizing: border-box; margin: 6px 0px; padding: 0px; word-break: break-all; word-wrap: break-word; font-size: 14px; color: rgb(102, 102, 102); line-height: 20px;"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P style="box-sizing: border-box; margin: 6px 0px; padding: 0px; word-break: break-all; word-wrap: break-word; font-size: 14px; color: rgb(102, 102, 102); line-height: 20px;"&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/47788-storagequeryflagsallitems-v20220.fsm" target="_blank"&gt;StorageQueryFlagsAllItems_V2022.0.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Jan 2022 06:41:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529904#M38943</guid>
      <dc:creator>supportPHJ4A</dc:creator>
      <dc:date>2022-01-18T06:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question about Storage.system.queryItems</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529905#M38944</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I'm pretty sure the &lt;A href="https://docs.flexsim.com/en/22.0/Reference/ProcessFlowObjects/Warehousing/FindItem/"&gt;Find Item&lt;/A&gt; activity only finds one item by default - there is a clue to this in the manual where it states that when there is a list of queries it will stop evaluating them when the first item is found.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Jan 2022 14:56:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529905#M38944</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-01-18T14:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Question about Storage.system.queryItems</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529906#M38945</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;SPAN style="color: rgb(69, 69, 69); font-family: "&gt;Sorry, I may not express clear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px;"&gt;The problem is not the Find Item activity.&lt;/SPAN&gt;It's that when I modify the Find Item query, the label activity&lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;(allitems)&lt;/SPAN&gt;  gets a different value.&lt;/P&gt;&lt;P&gt;And I get the &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;allitems&lt;/SPAN&gt; label value from&lt;SPAN style="font-size: 18px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 14px;"&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: "&gt;the following FlexScript :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1642554520222.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1508697iDE6439EDD963406A/image-size/large?v=v2&amp;amp;px=999" role="button" title="1642554520222.png" alt="1642554520222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please see the model for details.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/47819-storagequeryflagsallitems-v2022.fsm" target="_blank"&gt;storagequeryflagsallitems-v2022.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"&gt;Thanks! I would provide any extra info if needed.&lt;/SPAN&gt;&lt;SPAN style="font-size: 14px; font-family: Arial, Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Jan 2022 01:13:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529906#M38945</guid>
      <dc:creator>supportPHJ4A</dc:creator>
      <dc:date>2022-01-19T01:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Question about Storage.system.queryItems</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529907#M38946</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I could also replicate the issue without using the Find Item activity. Simply calling queryItems with the "Limit1" flag and an empty query string (which is what Find Item does, at least the manual says so) will cause the next queryItems command with an empty string to also only return one item. &lt;/P&gt;&lt;P&gt;It seems like a bug where the empty query strings somehow lead to the flag not being properly cleared.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1642576667192.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1508700iE288D19627A1C614/image-size/large?v=v2&amp;amp;px=999" role="button" title="1642576667192.png" alt="1642576667192.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Jan 2022 07:18:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529907#M38946</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2022-01-19T07:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question about Storage.system.queryItems</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529908#M38947</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Thanks Felix.&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Jan 2022 12:12:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529908#M38947</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-01-19T12:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Question about Storage.system.queryItems</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529909#M38948</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/17334/support.html" nodeid="17334"&gt;@CSN&lt;/A&gt;, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;&lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Jan 2022 19:13:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/question-about-storage-system-queryitems/m-p/13529909#M38948</guid>
      <dc:creator>ryan_c10</dc:creator>
      <dc:date>2022-01-24T19:13:05Z</dc:date>
    </item>
  </channel>
</rss>

