<?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: Feeder logic using Process Flow in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/feeder-logic-using-process-flow/m-p/13600690#M94509</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/43980/hemanth-sai-kumar-31101999.html" nodeid="43980"&gt;@Hemanth Sai Kumar&lt;/A&gt;, where do you assign a label called Type  at a token? Conditions of global variables belong into process flow and not into a query. If you have checked all global conditions, then you you query for an list entry matching your filter. And it should be an query clause of a SQL as programming language.  &lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 25 Jul 2024 11:59:55 GMT</pubDate>
    <dc:creator>joerg_vogel_HsH</dc:creator>
    <dc:date>2024-07-25T11:59:55Z</dc:date>
    <item>
      <title>Feeder logic using Process Flow</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/feeder-logic-using-process-flow/m-p/13600689#M94508</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 24.1.1 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi community,&lt;BR /&gt;&lt;BR /&gt;I have a use case where I need to write a feeding query logic in the process flow to pull parts from the queue based on condition. I am trying a if else condition to do so, but I am getting error while doing it.&lt;BR /&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/P&gt;
 &lt;P id="isPasted"&gt;time: 26.783511 exception: Exception caught in start() of activity "Pull from List" in process flow "ProcessFlow". Continuing throw...&lt;/P&gt;
 &lt;P&gt;time: 26.783511 exception: FlexScript exception: invalid variant type in list pull at MODEL:/Tools/ProcessFlow/ProcessFlow/Push to List&amp;gt;variables/onWaitTimerFired&lt;/P&gt;
 &lt;P id="isPasted"&gt;&lt;BR /&gt;&lt;BR /&gt;Can someone help in resolving this,&lt;BR /&gt;&lt;BR /&gt;Below I am attaching my sample model.&lt;BR /&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/85075-feeder-logic.fsm" target="_blank"&gt;Feeder logic.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Jul 2024 08:40:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/feeder-logic-using-process-flow/m-p/13600689#M94508</guid>
      <dc:creator>ddtsk</dc:creator>
      <dc:date>2024-07-25T08:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Feeder logic using Process Flow</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/feeder-logic-using-process-flow/m-p/13600690#M94509</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/43980/hemanth-sai-kumar-31101999.html" nodeid="43980"&gt;@Hemanth Sai Kumar&lt;/A&gt;, where do you assign a label called Type  at a token? Conditions of global variables belong into process flow and not into a query. If you have checked all global conditions, then you you query for an list entry matching your filter. And it should be an query clause of a SQL as programming language.  &lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Jul 2024 11:59:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/feeder-logic-using-process-flow/m-p/13600690#M94509</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2024-07-25T11:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Feeder logic using Process Flow</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/feeder-logic-using-process-flow/m-p/13600691#M94510</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You can't put a FlexScript expression in the query fields and only return numerics - it needs to be a query, object or array that get's returned.&lt;/P&gt;&lt;P&gt;But it looks like you should be able to push the item to the list and then just put this expression directly into the query field:&lt;/P&gt;&lt;PRE&gt;WHERE (Type=2 AND {Type_B_count&amp;lt;3}) OR (Type=1 AND {Type_R_count&amp;lt;2})&lt;/PRE&gt;&lt;P&gt;The braces {} are for FlexScript expressions and seem to be needed to refer to the Global Variables.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Jul 2024 17:34:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/feeder-logic-using-process-flow/m-p/13600691#M94510</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2024-07-26T17:34:37Z</dc:date>
    </item>
  </channel>
</rss>

