<?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: SqlQuery exception with Process Flow zone tokens in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532394#M41003</link>
    <description>&lt;P&gt;This appears to be a bug with the query engine in FlexSim. I'll put it on the dev list. Unfortunately, I don't have a good way to work around it right now.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2020 19:32:27 GMT</pubDate>
    <dc:creator>JordanLJohnson</dc:creator>
    <dc:date>2020-02-11T19:32:27Z</dc:date>
    <item>
      <title>SqlQuery exception with Process Flow zone tokens</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532391#M41000</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.2 ]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;I am getting the following error in the System Console when I click on a Process Flow zone token count:&lt;/P&gt;&lt;PRE&gt;exception: SqlQuery - Unkown error in: SELECT $2 AS RowNum, $3 AS Time FROM $1 ORDER BY Time&lt;/PRE&gt;&lt;P&gt;The active token window shows 0 tokens active, even though there are 8 showing in the zone: &lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25591-screen-shot-2020-02-10-at-45757-pm.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1501284i6D882733D1C9A6A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="25591-screen-shot-2020-02-10-at-45757-pm.png" alt="25591-screen-shot-2020-02-10-at-45757-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anyone have suggestions on what to try in order to fix this? It only happens with zones, not with resources, lists, or activities. I have attached an example model with steps to reproduce the issue included in the model. Thanks in advance for your assistance.&lt;/P&gt;&lt;P&gt;&lt;A id="25614" href="https://answers.flexsim.com/storage/attachments/25614-zone-sqlquery-exception.fsm"&gt;zone-sqlquery-exception.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 01:04:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532391#M41000</guid>
      <dc:creator>jon_abbott</dc:creator>
      <dc:date>2020-02-11T01:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: SqlQuery exception with Process Flow zone tokens</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532392#M41001</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/1130/jon.a.html" nodeid="1130"&gt;@Jon Abbott&lt;/A&gt;, can you add the complete query clause! I don’t know, what $1, $2, $3 are replaced with. Can you reproduce the error in a smaller model you can share? And additionally why do you want to get data from a zone, while the model is running? Perhaps there is a workaround to get your data? Regards Jörg&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 06:23:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532392#M41001</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2020-02-11T06:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: SqlQuery exception with Process Flow zone tokens</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532393#M41002</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/461/joerg.v.html" nodeid="461"&gt;@Jörg Vogel&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thank you for your reply. In response to your questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The query that is shown is not mine – it appears to be internal to FlexSim, and it runs whenever I click on the active token counter for the zone. I don’t know what $1, $2, or $3 are being replaced with either.&lt;/LI&gt;&lt;LI&gt;I have attached an example model with steps to reproduce the issue included in the model. Please let me know if this helps. Note that after the error happens, FlexSim seems to become unstable and will sometimes crash if the model is reloaded. I have to close FlexSim entirely and reopen the model to further diagnose this issue to avoid the crashing from happening.&lt;/LI&gt;&lt;LI&gt;I want to get data from the zone to see the token labels for the tokens that are actively in the zone. I can tell from the Zone object that there are tokens actively in the zone, as well as tokens waiting to enter the zone, but when I click on the token counter to show the detailed list, it does not work properly.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thanks again for your assistance.&lt;/P&gt;&lt;P&gt;&lt;A id="25613" href="https://answers.flexsim.com/storage/temp/25613-zone-sqlquery-exception.fsm"&gt;zone-sqlquery-exception.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 18:01:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532393#M41002</guid>
      <dc:creator>jon_abbott</dc:creator>
      <dc:date>2020-02-11T18:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: SqlQuery exception with Process Flow zone tokens</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532394#M41003</link>
      <description>&lt;P&gt;This appears to be a bug with the query engine in FlexSim. I'll put it on the dev list. Unfortunately, I don't have a good way to work around it right now.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 19:32:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532394#M41003</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2020-02-11T19:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: SqlQuery exception with Process Flow zone tokens</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532395#M41004</link>
      <description>&lt;P&gt;Thanks for the update, &lt;A rel="user" href="https://answers.flexsim.com/users/220/jordan.j.html" nodeid="220"&gt;@jordan.johnson&lt;/A&gt;. Is there a way for me to be notified on the forum once this has been resolved? Thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 23:05:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532395#M41004</guid>
      <dc:creator>jon_abbott</dc:creator>
      <dc:date>2020-02-11T23:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: SqlQuery exception with Process Flow zone tokens</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532396#M41005</link>
      <description>&lt;P&gt;I will put a note on the issue to be sure to update this post.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 23:26:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532396#M41005</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2020-02-11T23:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: SqlQuery exception with Process Flow zone tokens</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532397#M41006</link>
      <description>&lt;P&gt;Awesome, thanks &lt;A rel="user" href="https://answers.flexsim.com/users/220/jordan.j.html" nodeid="220"&gt;@jordan.johnson&lt;/A&gt;! &lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 23:28:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/sqlquery-exception-with-process-flow-zone-tokens/m-p/13532397#M41006</guid>
      <dc:creator>jon_abbott</dc:creator>
      <dc:date>2020-02-11T23:28:05Z</dc:date>
    </item>
  </channel>
</rss>

