<?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: Best way to setup a balk process in a waiting line in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546863#M52359</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/25689/ignaciog4.html" nodeid="25689"&gt;@Ignacio&lt;/A&gt; can you share ur model?&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 21 Nov 2020 10:48:58 GMT</pubDate>
    <dc:creator>gokulakrishnan_k2</dc:creator>
    <dc:date>2020-11-21T10:48:58Z</dc:date>
    <item>
      <title>Best way to setup a balk process in a waiting line</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546862#M52358</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Trying to setup a limit at which guests will balk the system.&lt;/P&gt;
 &lt;P&gt;It is a drive thru and after 10 cars I expect no one to join the system.&lt;/P&gt;
 &lt;P&gt;I used a decide right before the wait line with the condition&lt;/P&gt;
 &lt;P&gt;content(Model.find("Order_Line")) == 10&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="34443-1605912755171.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504242i1CA3A2266CFF4A6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="34443-1605912755171.png" alt="34443-1605912755171.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="34442-1605912681186.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1504244i4901E8DB7224DA49/image-size/large?v=v2&amp;amp;px=999" role="button" title="34442-1605912681186.png" alt="34442-1605912681186.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Is there a more "elegant" way of doing this to assign a max capacity to the waiting line?&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Nov 2020 22:54:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546862#M52358</guid>
      <dc:creator>ignacio_g4</dc:creator>
      <dc:date>2020-11-20T22:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to setup a balk process in a waiting line</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546863#M52359</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/25689/ignaciog4.html" nodeid="25689"&gt;@Ignacio&lt;/A&gt; can you share ur model?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 21 Nov 2020 10:48:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546863#M52359</guid>
      <dc:creator>gokulakrishnan_k2</dc:creator>
      <dc:date>2020-11-21T10:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to setup a balk process in a waiting line</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546864#M52360</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Push and pull to a list "InQueue" as they enter and leave the queue, and then for your decision pull without removing from the list and with a zero wait timer.  The pulled array length is then the number of people in the queue.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 21 Nov 2020 11:02:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546864#M52360</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2020-11-21T11:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to setup a balk process in a waiting line</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546865#M52361</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thanks!&lt;/P&gt;
 &lt;P&gt;What's the benefit of the push and pull to list over just evaluating the order_line with the Model.find?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Nov 2020 20:25:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546865#M52361</guid>
      <dc:creator>ignacio_g4</dc:creator>
      <dc:date>2020-11-23T20:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to setup a balk process in a waiting line</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546866#M52362</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can put anything on the queue objects in 3D or tokens. If the entries are not all in the same activity or 3D object - then you can still look at the queue quantity even though there might be a number of stages to the queue system - such as order taking, waiting for the order to complete and collection. It also means that logic doesn't need to t consider how the model is constructed or what the queues are called it just needs to know which is the correct list to use.&lt;/P&gt;&lt;P&gt;Also, you could do more than just look at the number in the queue activity - for example you could have the number of people in the vehicle and use the sum of those to alter your rule. If I have time I'll try and put together an example.&lt;/P&gt;&lt;P&gt;I'm sure there are other ways.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Nov 2020 15:26:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546866#M52362</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2020-11-24T15:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to setup a balk process in a waiting line</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546867#M52363</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Another quick thing - there's nothing wrong with your method as far as I can see - especially in the case where it's the content of one object that you're checking.   &lt;/P&gt;&lt;P&gt;You could change your code from having the string name of the object in 'find()' to some way of referencing the object by an association (eg. center port) or better still a label with pointer data to the object.  That way, if the object is renamed then your code still works.   The reason a label pointer is better in my mind is that it doesn't rely on having the correct port rank on the center ports - so if you have more than one object you want to reference in this way they don't get muddled due to a port rank changing.  Then the question becomes where to put that label with pointer data and I'd be guided on what makes sense and which is most convenient.  You can add the label to another object for which you already have a reference or even to the ProcessFlow itself.  Small models tend to be manageable without this - it just might be a good habit to get into if you're going to build larger models with generic and reusable code.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Nov 2020 23:16:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546867#M52363</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2020-11-24T23:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to setup a balk process in a waiting line</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546868#M52364</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/25689/ignaciog4.html" nodeid="25689"&gt;@Ignacio&lt;/A&gt;, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button on 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 or comment back to reopen your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Dec 2020 15:10:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/best-way-to-setup-a-balk-process-in-a-waiting-line/m-p/13546868#M52364</guid>
      <dc:creator>Ben_WilsonADSK</dc:creator>
      <dc:date>2020-12-01T15:10:41Z</dc:date>
    </item>
  </channel>
</rss>

