<?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: How to send item by label and by percentage? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-send-item-by-label-and-by-percentage/m-p/13499421#M14962</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thanks alot! It helped so much!!&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 26 Oct 2022 04:44:44 GMT</pubDate>
    <dc:creator>jungeun_w</dc:creator>
    <dc:date>2022-10-26T04:44:44Z</dc:date>
    <item>
      <title>How to send item by label and by percentage?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-send-item-by-label-and-by-percentage/m-p/13499419#M14960</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.1.5 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;I want to send item by both label and percentage&lt;/P&gt;
 &lt;P&gt;for example: i have flowitem by label.type 1 and 2; and 3 outputs.&lt;/P&gt;
 &lt;P&gt;100% of label.type ==2 and 10% of label.type ==1 go to output 1&lt;/P&gt;
 &lt;P&gt;30% of label.type ==1 go to output 2&lt;/P&gt;
 &lt;P&gt;60% of label.type ==1 go to output 3&lt;/P&gt;
 &lt;P&gt;this is the attatched file..: &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/60097-example.fsm" target="_blank"&gt; example.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;can i setting them in the output&amp;gt;send to port option?&lt;/P&gt;
 &lt;P&gt;Thx&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Oct 2022 08:14:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-send-item-by-label-and-by-percentage/m-p/13499419#M14960</guid>
      <dc:creator>jungeun_w</dc:creator>
      <dc:date>2022-10-25T08:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to send item by label and by percentage?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-send-item-by-label-and-by-percentage/m-p/13499420#M14961</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You could first split the items by type into separate, intermediate queues and then set each Send To Port according to the type it will receive.&lt;/P&gt;&lt;P&gt;If you want to do this in a single Send To Port option you will have to manually edit the code. Starting from the default "By Percentage" option, you can simply wrap that code in an if-condition that checks the item's type.&lt;/P&gt;&lt;P&gt;Since all items of type 2 should go to port 1, you just return 1 in that case.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1666696040604.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1513590i23CB1A78B83B7EE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="1666696040604.png" alt="1666696040604.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/60098-sendtoportcombooption.fsm" target="_blank"&gt;SendToPortComboOption.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Oct 2022 11:08:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-send-item-by-label-and-by-percentage/m-p/13499420#M14961</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2022-10-25T11:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to send item by label and by percentage?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-send-item-by-label-and-by-percentage/m-p/13499421#M14962</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thanks alot! It helped so much!!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Oct 2022 04:44:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-send-item-by-label-and-by-percentage/m-p/13499421#M14962</guid>
      <dc:creator>jungeun_w</dc:creator>
      <dc:date>2022-10-26T04:44:44Z</dc:date>
    </item>
  </channel>
</rss>

