<?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: Task sequence problem in Process Flow in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/task-sequence-problem-in-process-flow/m-p/14112209#M100910</link>
    <description>&lt;P&gt;Thank you very much to both of you.&amp;nbsp;&lt;SPAN&gt;iI didn't want to deactivate the Process Flow "FIFO PIEZAS Clasif pre Emparejamiento", so I set the upstream queues&amp;nbsp;"FIFO TOBERA/AGUJA Clasif" to "Do Not Release Item" in their Send to Port option. It seems that it has worked and I do not get the error anymore.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2026 14:44:47 GMT</pubDate>
    <dc:creator>lcdiazM6QFX</dc:creator>
    <dc:date>2026-04-30T14:44:47Z</dc:date>
    <item>
      <title>Task sequence problem in Process Flow</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/task-sequence-problem-in-process-flow/m-p/14110327#M100896</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In my FlexSim model (attached), in the ProcesFlow called ProcesFlow_emparejamiento, the Robot (placed in he zone: EMPAREJAMIENTO) has to talke one AGUJA, TOBERA and MUELLE with the same label value "Tol", which can be 1, 2 or 3, and one TUERCA&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(without the label "Tol") and then join them in the combiner called Assembly, resulting in an INYECTOR. The model worked fine in very trials, but after some modifications not related to this Process Flow, it suddenly it stops working. It always happens around 12:02 on 19/10/2025. The message is the one that I copy below, and what we see is that the Robot takes an item with a "Type" label INYECTOR, which was not requested in the process flow. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lcdiazM6QFX_0-1777459088837.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1636743i86A8B9C942145A5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lcdiazM6QFX_0-1777459088837.png" alt="lcdiazM6QFX_0-1777459088837.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We had a similar problem with a similar program which was solved by&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17286793"&gt;@FelixMoehlmann&lt;/a&gt;&amp;nbsp;here:&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/flexsim-forum/task-sequence-problem-in-process-flow-robot-picking-up-an-item/td-p/13938018" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/flexsim-forum/task-sequence-problem-in-process-flow-robot-picking-up-an-item/td-p/13938018&lt;/A&gt;&amp;nbsp;. So, we tried to apply the same solution,&amp;nbsp;activating the "Allow Multiple Pushes Before Back Order Fulfillment" option in the list "ComponentItems". However, after doing that we get the following errors:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lcdiazM6QFX_1-1777459457053.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1636745i24CF7B6BB57434E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lcdiazM6QFX_1-1777459457053.png" alt="lcdiazM6QFX_1-1777459457053.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could it be another bug? How could we solved it?&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 10:48:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/task-sequence-problem-in-process-flow/m-p/14110327#M100896</guid>
      <dc:creator>lcdiazM6QFX</dc:creator>
      <dc:date>2026-04-29T10:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Task sequence problem in Process Flow</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/task-sequence-problem-in-process-flow/m-p/14111563#M100900</link>
      <description>&lt;P&gt;There is duplicated logic in the model. The "FIFO TOBERA/AGUJA Clasif" queues receive items through a port-connection and the "FIFO PIEZAS Clasif pre Emparejamiento" Process Flow also releases the same items. This eventually causes items to be represented twice in the logic which likely cascades into the task sequence error.&lt;/P&gt;&lt;P&gt;Either remove/deactivate the Process Flow or set the upstream queues to "Do Not Release Item" in their Send to Port option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 07:43:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/task-sequence-problem-in-process-flow/m-p/14111563#M100900</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2026-04-30T07:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Task sequence problem in Process Flow</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/task-sequence-problem-in-process-flow/m-p/14111818#M100905</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;First of all, Moehlmann’s observation seems to be correct.&lt;BR /&gt;In my test, after disabling the Sources in the Process Flow "FIFO PIEZAS Clasif pre Emparejamiento", the error:&lt;/P&gt;&lt;PRE&gt;FlexScript exception: invalid index at MODEL...&lt;/PRE&gt;&lt;P&gt;disappears. This suggests that the issue is indeed related to duplicated logic, where items are handled both by physical port connections and by the Process Flow.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Additionally, I noticed a potential race condition in "ProcessFlow_Emparejamiento". At the time indicated in the error (~80442.52), multiple tokens are trying to execute Pull item simultaneously, while the queues (QueueTOBERA, QueueAGUJA, QueueMUELLE) are pushing items to the ComponentsItems&amp;nbsp;list from the 3D object logic.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To test this, I added a small loop before the Pull item&amp;nbsp;using a Wait for Event, so tokens wait for a list change and recheck the condition before pulling. I also added a second condition to avoid blocking when no more items arrive.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="borja_lorenzo_0-1777545727098.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1637049i85C8F3F6BBF70291/image-size/medium?v=v2&amp;amp;px=400" role="button" title="borja_lorenzo_0-1777545727098.png" alt="borja_lorenzo_0-1777545727098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this approach, the error also disappears, even if the duplicated output logic in the FIFO queues is kept. So it seems both the duplicated logic and the race condition on the list access may contribute to the issue.&lt;/P&gt;&lt;P&gt;I was not able to reproduce the issue where the robot picks an "INYECTOR", and from what I see in the model, "Robot1" does not appear to be extracting that item.&lt;/P&gt;&lt;P&gt;I’m not an expert, just looked into this out of curiosity. Moehlmann’s solution is likely the correct one, I just wanted to share this additional observation.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 10:43:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/task-sequence-problem-in-process-flow/m-p/14111818#M100905</guid>
      <dc:creator>borja_lorenzo</dc:creator>
      <dc:date>2026-04-30T10:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Task sequence problem in Process Flow</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/task-sequence-problem-in-process-flow/m-p/14112209#M100910</link>
      <description>&lt;P&gt;Thank you very much to both of you.&amp;nbsp;&lt;SPAN&gt;iI didn't want to deactivate the Process Flow "FIFO PIEZAS Clasif pre Emparejamiento", so I set the upstream queues&amp;nbsp;"FIFO TOBERA/AGUJA Clasif" to "Do Not Release Item" in their Send to Port option. It seems that it has worked and I do not get the error anymore.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 14:44:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/task-sequence-problem-in-process-flow/m-p/14112209#M100910</guid>
      <dc:creator>lcdiazM6QFX</dc:creator>
      <dc:date>2026-04-30T14:44:47Z</dc:date>
    </item>
  </channel>
</rss>

