<?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: Triggering wait for event in process flow using sendmessage() in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500919#M16135</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I think, it is more likely the on receive message event, that you can evaluate.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 07 May 2022 05:36:52 GMT</pubDate>
    <dc:creator>joerg_vogel_HsH</dc:creator>
    <dc:date>2022-05-07T05:36:52Z</dc:date>
    <item>
      <title>Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500918#M16134</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 21.2.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Is there a way to trigger wait for event activity in process flow from using sendmessage()?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/51846-sendmsg.fsm" target="_blank"&gt;sendmsg.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 06 May 2022 22:37:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500918#M16134</guid>
      <dc:creator>rhramac</dc:creator>
      <dc:date>2022-05-06T22:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500919#M16135</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I think, it is more likely the on receive message event, that you can evaluate.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 07 May 2022 05:36:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500919#M16135</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2022-05-07T05:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500920#M16136</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;In you case you can just detect that a token enters/exits the activity: "&lt;EM&gt;Custom Code- Send message&lt;/EM&gt;"&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 07 May 2022 13:08:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500920#M16136</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-05-07T13:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500921#M16137</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi Jason, Thanks for your response. I asked this as part of bigger model where I use a customized library in flexsim. I add instruction to travel, and then instruction to send message, so that the message is triggered after travel is completed. So detecting token entry exit to custom code will not help. &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="1651978624945.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510227iAFB83D8EBDCD69BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="1651978624945.png" alt="1651978624945.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 08 May 2022 02:57:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500921#M16137</guid>
      <dc:creator>rhramac</dc:creator>
      <dc:date>2022-05-08T02:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500922#M16138</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Hi Joerg, can you explain it a bit?
&lt;/DIV&gt;</description>
      <pubDate>Sun, 08 May 2022 02:58:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500922#M16138</guid>
      <dc:creator>rhramac</dc:creator>
      <dc:date>2022-05-08T02:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500923#M16139</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;The OnMessage event is common on the objects and a wait for event activity, when you sample an object that has the event, will offer OnMessage as the triggering event.  This is not the sending of the message but the receiving.&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 May 2022 10:10:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500923#M16139</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-05-09T10:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500924#M16140</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 So can a wait for event activity listen to itself, if there is a message being passed to it or can it listen to only 3D objects
&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 May 2022 15:31:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500924#M16140</guid>
      <dc:creator>rhramac</dc:creator>
      <dc:date>2022-05-09T15:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500925#M16141</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Doesn't look like it from either the dropdown list you get when you sample it, or a simple test.&lt;/P&gt;&lt;P&gt;I think pushing to and pulling from lists are a much better option for synchronization like this - so much more transparent.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 May 2022 15:50:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500925#M16141</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-05-09T15:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500926#M16142</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 I was able to send message to queue and use wait for event to listen to it. Since the send message has only double parameter. I send passed an object with all details in the fromObject argument. Thanks to 
 &lt;A rel="user" href="https://answers.flexsim.com/users/86/logan.g.html" nodeid="86"&gt;@Logan Gold&lt;/A&gt; for walking me through the process.
&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 May 2022 19:31:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500926#M16142</guid>
      <dc:creator>rhramac</dc:creator>
      <dc:date>2022-05-12T19:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500927#M16143</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Glad you were able to articulate what you were looking for with Logan.  You're still not detecting the message sending event unless it's sent and received in zero time. If it's a delayed message then you'll not be able to detect the sending event&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 May 2022 13:28:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500927#M16143</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-05-13T13:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500928#M16144</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 In my case I am sending regular sendmessage() and not delayed. Can you please elaborate why it would not work for a delayed message? Curious. 
&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 May 2022 14:48:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500928#M16144</guid>
      <dc:creator>rhramac</dc:creator>
      <dc:date>2022-05-13T14:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500929#M16145</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;You're detecting the receiving of the message, not the sending of it.  So if the message is delayed by n seconds you're not going to know when it was sent unless you also pass that as a parameter.&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 May 2022 15:01:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500929#M16145</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-05-13T15:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering wait for event in process flow using sendmessage()</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500930#M16146</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Makes sense. Thanks for the explanation.
&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 May 2022 15:39:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/triggering-wait-for-event-in-process-flow-using-sendmessage/m-p/13500930#M16146</guid>
      <dc:creator>rhramac</dc:creator>
      <dc:date>2022-05-13T15:39:10Z</dc:date>
    </item>
  </channel>
</rss>

