<?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 Queue As Resource in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/queue-as-resource/m-p/13551515#M56043</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.1.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Attached is a simple model, I could use some help with. I want to release 10 boxes at a time from the main queue and move all 10 to one of the final queues. Then I want them to be sent to the processor 1 at a time and then moved to the sink. The final queue cannot be used again until all boxes have left the queue. My thought was to use the queue as a resource, but I am not using the batch correctly? &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/49767-queue-as-resource.fsm" target="_blank"&gt;Queue As Resource.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 14 Mar 2022 21:18:20 GMT</pubDate>
    <dc:creator>mdemalia</dc:creator>
    <dc:date>2022-03-14T21:18:20Z</dc:date>
    <item>
      <title>Queue As Resource</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/queue-as-resource/m-p/13551515#M56043</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.1.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Attached is a simple model, I could use some help with. I want to release 10 boxes at a time from the main queue and move all 10 to one of the final queues. Then I want them to be sent to the processor 1 at a time and then moved to the sink. The final queue cannot be used again until all boxes have left the queue. My thought was to use the queue as a resource, but I am not using the batch correctly? &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/49767-queue-as-resource.fsm" target="_blank"&gt;Queue As Resource.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Mar 2022 21:18:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/queue-as-resource/m-p/13551515#M56043</guid>
      <dc:creator>mdemalia</dc:creator>
      <dc:date>2022-03-14T21:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Queue As Resource</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/queue-as-resource/m-p/13551516#M56044</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/31899/michaeld6.html" nodeid="31899"&gt;@Michael D6&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I've attached a modified version of your model that should be doing what you want. You had the right idea of how to accomplish it, but there were a few settings that made it not work as well. The first problem was the Batch activity. To do what you want, you should have a Batch Quantity of 10 and release just one token and aggregate the labels of box into an array of boxes. Then, in the Move Object activity, you can reference "token.boxes" and move them into "token.resource," which references the Final Queue.&lt;/P&gt;&lt;P&gt;Finally, I replaced the Delay activity with a Wait for Event activity that releases the token once the queue has released all of the items that were moved into it. This ensures that the queue can't be used again until all the boxes have left.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/49774-queue-as-resource-rc.fsm" target="_blank"&gt;queue-as-resource-rc.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope this helps resolve your questions! Let us know if you have any additional questions!&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Mar 2022 00:34:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/queue-as-resource/m-p/13551516#M56044</guid>
      <dc:creator>ryan_c10</dc:creator>
      <dc:date>2022-03-15T00:34:32Z</dc:date>
    </item>
  </channel>
</rss>

