<?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 Re: Pull requirement: lowest rank item even if it is not available yet in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/pull-requirement-lowest-rank-item-even-if-it-is-not-available/m-p/13600029#M93962</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 Since I am working with the test version of FlexSim I have no access to a global variable. Can you think of a way to avoid the use of a global variable?
&lt;/DIV&gt;</description>
    <pubDate>Thu, 24 Apr 2025 21:18:08 GMT</pubDate>
    <dc:creator>LopezBuzo_AlfredoJesus</dc:creator>
    <dc:date>2025-04-24T21:18:08Z</dc:date>
    <item>
      <title>Pull requirement: lowest rank item even if it is not available yet</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-requirement-lowest-rank-item-even-if-it-is-not-available/m-p/13600027#M93960</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 25.0.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P id="isPasted"&gt;Hello,&lt;/P&gt;
 &lt;P&gt;I have been having trouble solving the following issue:&lt;/P&gt;
 &lt;P&gt;I want to move articles to a floor storage in a specific sequence (in this case by rank of the boxes) from the queue beside it. This shouldn't be that difficult in a normal case. The issue is that the boxes arrive at the queue 2 at different times since some have to go through a QA process before getting to the queue 2. In that QA process some boxes are marked as broken and go to another floor storage and not to the "good" one.&lt;/P&gt;
 &lt;P&gt;As a result the not broken boxes arrive to the floor Storage in roughly the correct order. However in some cases a box at QA is bypassed by a newer box which didn't need a QA check. So the box order at the storage looks like: 1, 2, 5, 6, 9, &lt;STRONG&gt;7&lt;/STRONG&gt;... I need it to be 1, 2, 5, 6, 7, 9. Meaning, the ninth box has to wait for the 7 to arrive from the QA Process. This is for example the case at 1455.78 s.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1745149611928.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527268iB9E367FEB5C3BD75/image-size/large?v=v2&amp;amp;px=999" role="button" title="1745149611928.png" alt="1745149611928.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;The moving of boxes to the "reviewed Floor Storage" is done by a Box Outbound List. Besides that there is a List of all Boxes.&lt;/P&gt;
 &lt;P&gt;I think the easies way to solve the issue is to a create a "MeetsPullRequirement" label in the Box Outbound List which checks if the current box has the lowest rank among the not moved yet boxes and is not broken and use it as a WHERE query.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1745149632421.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1527269i842E29A70DC207C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="1745149632421.png" alt="1745149632421.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;I tried creating this Requirement by writing a code. However, my coding skills are not there yet.&lt;/P&gt;
 &lt;P&gt;If somebody could help I would be very happy!&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/91913-pull-requirement-for-qa-box-check.fsm" target="_blank"&gt;Pull-Requirement for QA-Box-Check.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 20 Apr 2025 11:53:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-requirement-lowest-rank-item-even-if-it-is-not-available/m-p/13600027#M93960</guid>
      <dc:creator>LopezBuzo_AlfredoJesus</dc:creator>
      <dc:date>2025-04-20T11:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pull requirement: lowest rank item even if it is not available yet</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-requirement-lowest-rank-item-even-if-it-is-not-available/m-p/13600028#M93961</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;A solution without too much coding would be to write the ranks to a global variable array. The list field can then just check if the BoxRank of the item is equal to the first value of the array. If a box is tested and broken, its rank is removed from the array and the back orders are reevaluated in case an item in the queue can now be pulled (On Process Finish trigger).&lt;/P&gt;&lt;P&gt;If an item is pulled, its rank also needs to be removed from the array. In the attached model I do so in the transport reference field.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/91949-pull-requirement-for-qa-box-check-1.fsm" target="_blank"&gt;pull-requirement-for-qa-box-check_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Apr 2025 06:19:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-requirement-lowest-rank-item-even-if-it-is-not-available/m-p/13600028#M93961</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-04-22T06:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pull requirement: lowest rank item even if it is not available yet</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-requirement-lowest-rank-item-even-if-it-is-not-available/m-p/13600029#M93962</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Since I am working with the test version of FlexSim I have no access to a global variable. Can you think of a way to avoid the use of a global variable?
&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Apr 2025 21:18:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-requirement-lowest-rank-item-even-if-it-is-not-available/m-p/13600029#M93962</guid>
      <dc:creator>LopezBuzo_AlfredoJesus</dc:creator>
      <dc:date>2025-04-24T21:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pull requirement: lowest rank item even if it is not available yet</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-requirement-lowest-rank-item-even-if-it-is-not-available/m-p/13600030#M93963</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can store the array in a label of one of the objects. In the attached model I use the inbound queue.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/92104-pull-requirement-for-qa-box-check-2.fsm" target="_blank"&gt;pull-requirement-for-qa-box-check-2.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Apr 2025 06:13:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-requirement-lowest-rank-item-even-if-it-is-not-available/m-p/13600030#M93963</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-04-25T06:13:03Z</dc:date>
    </item>
  </channel>
</rss>

