<?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: Route containers based on quantity of items inside in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/route-containers-based-on-quantity-of-items-inside/m-p/13560545#M63117</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/226/jason.l.html" nodeid="226"&gt;@jason.lightfoot&lt;/A&gt;! Thank you for this accurate response! I have one quick follow-up question. I have two different object containers that are moving through the system - pallets with totes and pallets with another pallet attached. Is there a way for me to identify which object this expression affects, as it should only be applied to the pallets with totes that are moving through the conveyor system? The other object will always be routed to 'Queue1'. I have attached the model including the additional object container type.&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/35840-route-containers-based-on-quantity-jl2.fsm" target="_blank"&gt;route-containers-based-on-quantity-jl2.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 11 Jan 2021 19:34:07 GMT</pubDate>
    <dc:creator>talia_z</dc:creator>
    <dc:date>2021-01-11T19:34:07Z</dc:date>
    <item>
      <title>Route containers based on quantity of items inside</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/route-containers-based-on-quantity-of-items-inside/m-p/13560543#M63115</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.9 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello! In my model I have a tote that is placed on a pallet; within the tote there are a number of spheres ranging from 0 to 5. I am hoping to route the pallet object containing the tote and spheres to one of the two queues based on the quantity of spheres inside the two containers. If there are 0 spheres inside, the object should be routed to Queue1 and if there are 1 or more spheres inside, the object should be routed to Queue2. I am unsure how to access this property using decision point logic and would appreciate any insights you may share!&lt;/P&gt;
 &lt;P&gt;I have created a test model to work through this issue - it is attached below.&lt;BR /&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/35662-route-containers-based-on-quantity.fsm" target="_blank"&gt;Route_containers_based_on_quantity.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Dec 2020 11:47:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/route-containers-based-on-quantity-of-items-inside/m-p/13560543#M63115</guid>
      <dc:creator>talia_z</dc:creator>
      <dc:date>2020-12-29T11:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Route containers based on quantity of items inside</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/route-containers-based-on-quantity-of-items-inside/m-p/13560544#M63116</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The expression to test on the decision point will be:&lt;/P&gt;&lt;PRE&gt;item.first.subnodes.length&amp;gt;0&lt;/PRE&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/35663-route-containers-based-on-quantity-jl.fsm" target="_blank"&gt;route-containers-based-on-quantity_jl.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Dec 2020 12:12:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/route-containers-based-on-quantity-of-items-inside/m-p/13560544#M63116</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2020-12-29T12:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Route containers based on quantity of items inside</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/route-containers-based-on-quantity-of-items-inside/m-p/13560545#M63117</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/226/jason.l.html" nodeid="226"&gt;@jason.lightfoot&lt;/A&gt;! Thank you for this accurate response! I have one quick follow-up question. I have two different object containers that are moving through the system - pallets with totes and pallets with another pallet attached. Is there a way for me to identify which object this expression affects, as it should only be applied to the pallets with totes that are moving through the conveyor system? The other object will always be routed to 'Queue1'. I have attached the model including the additional object container type.&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/35840-route-containers-based-on-quantity-jl2.fsm" target="_blank"&gt;route-containers-based-on-quantity-jl2.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Jan 2021 19:34:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/route-containers-based-on-quantity-of-items-inside/m-p/13560545#M63117</guid>
      <dc:creator>talia_z</dc:creator>
      <dc:date>2021-01-11T19:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Route containers based on quantity of items inside</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/route-containers-based-on-quantity-of-items-inside/m-p/13560546#M63118</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You could test for the name of the thing on the pallet:&lt;/P&gt;&lt;PRE&gt;item.first.name.startsWith("Tote")&lt;/PRE&gt;&lt;P&gt;or, as I have done in the attached model, put a label called something like containerType on the flowitems and test that &lt;/P&gt;&lt;PRE&gt;item.first.containerType=="Tote"&lt;/PRE&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/35873-route-containers-based-on-quantity-jl3.fsm" target="_blank"&gt;route-containers-based-on-quantity-jl3.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Jan 2021 23:10:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/route-containers-based-on-quantity-of-items-inside/m-p/13560546#M63118</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2021-01-11T23:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Route containers based on quantity of items inside</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/route-containers-based-on-quantity-of-items-inside/m-p/13560547#M63119</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Both options work very well in my model, thank you &lt;A rel="user" href="https://answers.flexsim.com/users/226/jason.l.html" nodeid="226"&gt;@jason.lightfoot&lt;/A&gt;!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Jan 2021 22:44:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/route-containers-based-on-quantity-of-items-inside/m-p/13560547#M63119</guid>
      <dc:creator>talia_z</dc:creator>
      <dc:date>2021-01-12T22:44:29Z</dc:date>
    </item>
  </channel>
</rss>

