<?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: wait for an event by condition in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483446#M2521</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/24344/jeanettef.html" nodeid="24344"&gt;@Jeanette F&lt;/A&gt;,&lt;/P&gt;
 &lt;P&gt;Is there a way to wait until an event (as in the example) but with 2 tracked conditions? I have to decides and I want to resume when one or the other condition is met. &lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1648978355582.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509700i3FE82FF642CB222C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1648978355582.png" alt="1648978355582.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Thank you!&lt;/P&gt;
 &lt;P&gt;Myriam&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Sun, 03 Apr 2022 09:32:48 GMT</pubDate>
    <dc:creator>myriam_srdg</dc:creator>
    <dc:date>2022-04-03T09:32:48Z</dc:date>
    <item>
      <title>wait for an event by condition</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483440#M2515</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;Hello, &lt;/P&gt;
 &lt;P&gt;I've created an object process flow, that triggers when a box covers a PE. Based on some conditions, the box stops or sinks. The box resumes when a model variable reaches a threshold. I've managed to resume the object after a time, but I'm don't know how to write a variable-based condition.&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="1648741561674.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509701i8DB29934202E0DE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="1648741561674.png" alt="1648741561674.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;Thank you, &lt;/P&gt;
 &lt;P&gt; &lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 31 Mar 2022 15:46:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483440#M2515</guid>
      <dc:creator>myriam_srdg</dc:creator>
      <dc:date>2022-03-31T15:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: wait for an event by condition</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483441#M2516</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi Myriam,&lt;/P&gt;&lt;P&gt;probably the easiest way is by using a label on the item.&lt;/P&gt;&lt;P&gt;Hope this model can help&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/50535-support-mondragon.fsm" target="_blank"&gt;support mondragon.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 31 Mar 2022 16:24:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483441#M2516</guid>
      <dc:creator>m_rosadini</dc:creator>
      <dc:date>2022-03-31T16:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: wait for an event by condition</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483442#M2517</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/36090/myriamsrdg.html" nodeid="36090"&gt;@Myriam Srdg&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I wrote two examples of a decide conditionally examining a variable. One is a global variable. The other is a tracked variable.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/50544-varaible-based-condition-jf.fsm" target="_blank"&gt;Varaible_Based_Condition_JF.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 31 Mar 2022 17:07:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483442#M2517</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2022-03-31T17:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: wait for an event by condition</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483443#M2518</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Thank you both for the examples. I think I didn't express myself correctly or I'm not able to interpret them right. I achieved to make a decision based on a variable. What I'm struggling with if with resuming the item once the condition that made it stop changes. In the example that I upload, what I want to stop the object in the first PE and only resume it when the number of items between the PEs is less that 2. &lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/50593-varaible-based-condition-jf-ms.fsm" target="_blank"&gt;varaible-based-condition-jf-ms.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;Thank you&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 01 Apr 2022 18:08:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483443#M2518</guid>
      <dc:creator>myriam_srdg</dc:creator>
      <dc:date>2022-04-01T18:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: wait for an event by condition</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483444#M2519</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/36090/myriamsrdg.html" nodeid="36090"&gt;@Myriam Srdg&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;This will work if you use a tracked variable instead of a global variable. The tracked variables can be referenced in a wait for event.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1648849210983.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509698i3B387175CD815D2E/image-size/large?v=v2&amp;amp;px=999" role="button" title="1648849210983.png" alt="1648849210983.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/50589-varaible-based-condition-jf-ms-1.fsm" target="_blank"&gt;varaible-based-condition-jf-ms_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 01 Apr 2022 21:41:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483444#M2519</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2022-04-01T21:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: wait for an event by condition</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483445#M2520</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thank you very much! Discovering tracked variables was awesome ))
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 02 Apr 2022 16:46:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483445#M2520</guid>
      <dc:creator>myriam_srdg</dc:creator>
      <dc:date>2022-04-02T16:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: wait for an event by condition</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483446#M2521</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/24344/jeanettef.html" nodeid="24344"&gt;@Jeanette F&lt;/A&gt;,&lt;/P&gt;
 &lt;P&gt;Is there a way to wait until an event (as in the example) but with 2 tracked conditions? I have to decides and I want to resume when one or the other condition is met. &lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1648978355582.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1509700i3FE82FF642CB222C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1648978355582.png" alt="1648978355582.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Thank you!&lt;/P&gt;
 &lt;P&gt;Myriam&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 03 Apr 2022 09:32:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483446#M2521</guid>
      <dc:creator>myriam_srdg</dc:creator>
      <dc:date>2022-04-03T09:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: wait for an event by condition</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483447#M2522</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello &lt;A rel="user" href="https://answers.flexsim.com/users/36090/myriamsrdg.html" nodeid="36090"&gt;@Myriam Srdg&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You would need a wait for event for each variable. In the model provided you can see how I implemented this.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/50656-varaible-based-condition-jf-ms-2.fsm" target="_blank"&gt;varaible-based-condition-jf-ms-2.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Apr 2022 19:09:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/wait-for-an-event-by-condition/m-p/13483447#M2522</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2022-04-04T19:09:07Z</dc:date>
    </item>
  </channel>
</rss>

