<?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 listen to multiple events in Wait for event? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566474#M67892</link>
    <description>&lt;P&gt;Hi Braydn, as far as i know, if i do that, the program waits for one event or another. I mean, if either of two event are accomplished, it proceeds. Am I wrong?&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2019 14:48:29 GMT</pubDate>
    <dc:creator>felipe_p2</dc:creator>
    <dc:date>2019-08-16T14:48:29Z</dc:date>
    <item>
      <title>How to listen to multiple events in Wait for event?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566471#M67889</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 19.1.0 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;A id="21536" href="https://answers.flexsim.com/storage/attachments/21536-sin-enganchar-v2.fsm"&gt;sin-enganchar-v2.fsm&lt;/A&gt;Hi guys, I am working with this model and I have the following problem: i need the task executer TT to wait for two events to be accomplished (P1 and P2 empty) for starting to count "Unload P1" time. Once both queues are empty, TT should start counting "Unload P1" delay time and proceed as PF indicates.&lt;/P&gt;
&lt;P&gt;I tried to configure that with the "Wait for event", introducing both events, but it´s working with the rule "OR", so if one of the queues is empty, the task executer TT starts counting "Unload P1" time. I need it to work with the rule "AND", as i indicated above.&lt;/P&gt;
&lt;P&gt;Does anyone know how to solve this?&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Felipe&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 20:26:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566471#M67889</guid>
      <dc:creator>felipe_p2</dc:creator>
      <dc:date>2019-08-15T20:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to listen to multiple events in Wait for event?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566472#M67890</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://answers.flexsim.com/users/15654/felipep2.html" nodeid="15654"&gt;@Felipe P2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As far as I'm aware, there is no way to do this with one Process Flow activity.  However, you can check if one is empty and then the other like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21545-capture.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499947iA018A33EF6C6F933/image-size/large?v=v2&amp;amp;px=999" role="button" title="21545-capture.png" alt="21545-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The decide activity is for the small chance that P1 is no longer empty by the time P2 becomes empty.&lt;/P&gt;&lt;P&gt;Here's an updated version of your model with this added to the Process Flow: &lt;A id="21546" href="https://answers.flexsim.com/storage/attachments/21546-sinengancharanswer.fsm"&gt;sinengancharanswer.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 22:00:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566472#M67890</guid>
      <dc:creator>joseph_g3</dc:creator>
      <dc:date>2019-08-15T22:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to listen to multiple events in Wait for event?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566473#M67891</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://answers.flexsim.com/users/15654/felipep2.html" nodeid="15654"&gt;@Felipe P2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can click the button highlighted in red here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21556-felipe-p2.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499948i96FDC69221941EB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="21556-felipe-p2.png" alt="21556-felipe-p2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After you do that it will look like this, and you can add another wait for event in the same task in process flow. The Token will not continue until both tasks are complete. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21557-after-added.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499949i371A747DECE870EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="21557-after-added.png" alt="21557-after-added.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 13:03:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566473#M67891</guid>
      <dc:creator>braydn_t</dc:creator>
      <dc:date>2019-08-16T13:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to listen to multiple events in Wait for event?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566474#M67892</link>
      <description>&lt;P&gt;Hi Braydn, as far as i know, if i do that, the program waits for one event or another. I mean, if either of two event are accomplished, it proceeds. Am I wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 14:48:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566474#M67892</guid>
      <dc:creator>felipe_p2</dc:creator>
      <dc:date>2019-08-16T14:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to listen to multiple events in Wait for event?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566475#M67893</link>
      <description>&lt;P&gt;Hi Joseph, thank you very much for your reply. The problem is the following: when TT recognizes PP1 is empty, previous TT hasn´t downloaded into PP2 yet, so it also recognizes that PP2 is empty. That means that it proceeds with counting the delay time. That is wrong. I think we could solve this by putting Control Point 5 as a resource, acquire it and release it just when previous TT has finished unloading into P2. But i can´t do this because i reached the model limit. &lt;/P&gt;
&lt;P&gt;Do you think we can solve it any other way? Maybe we can simplify any other part of the model so we can introduce CP5 as a resource, without exceeding the model limit. &lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Felipe&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 14:52:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566475#M67893</guid>
      <dc:creator>felipe_p2</dc:creator>
      <dc:date>2019-08-16T14:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to listen to multiple events in Wait for event?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566476#M67894</link>
      <description>&lt;P&gt;&lt;A href="https://answers.flexsim.com/questions/70856/how-to-listen-to-multiple-events-in-wait-for-event.html?childToView=70896#"&gt;@Felipe P2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I think using Control Point 5 as a resource is a good idea, you should do it.  You could save two process flow activities by deleting this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="21562-capture.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1499950i2D4605AC5EC85A94/image-size/large?v=v2&amp;amp;px=999" role="button" title="21562-capture.png" alt="21562-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and adding an "Assign Labels" activity to keep track of where TT should unload the items.  Then in your "unloading" subflow, you could unload to token.Destination or something like that.  I suppose you could remove some "Sink" activities too.  &lt;/P&gt;&lt;P&gt;If you need lots more for your model, it might be time to ask if your workplace can get a licensed version.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 15:27:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566476#M67894</guid>
      <dc:creator>joseph_g3</dc:creator>
      <dc:date>2019-08-16T15:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to listen to multiple events in Wait for event?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566477#M67895</link>
      <description>&lt;P&gt;Thank you very much!!&lt;/P&gt;
&lt;P&gt;I will try that.&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Felipe&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 15:39:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566477#M67895</guid>
      <dc:creator>felipe_p2</dc:creator>
      <dc:date>2019-08-16T15:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to listen to multiple events in Wait for event?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566478#M67896</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hey @Felipe P2, from what I have seen in my model, you are right: The token continoues when only one of the wait for event objects are triggered; so the token does not wait until every single task is accomplished.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Jul 2022 08:04:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566478#M67896</guid>
      <dc:creator>niphon_jeepjua</dc:creator>
      <dc:date>2022-07-22T08:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to listen to multiple events in Wait for event?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566479#M67897</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;If you want to wait for both events to have fired then you need to split the token to feed two wait for event activities followed by a &lt;SPAN style="color: rgb(65, 65, 65); font-family: sans-serif; font-size: 15px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;synchronise/ batch activity &lt;/SPAN&gt; &lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 Jul 2022 14:18:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-listen-to-multiple-events-in-wait-for-event/m-p/13566479#M67897</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-07-22T14:18:47Z</dc:date>
    </item>
  </channel>
</rss>

