<?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: Label Does not Exist Task Error &amp;amp; Process Flow Source Downtime in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13678048#M96625</link>
    <description>&lt;P&gt;The Run Sub Flow activity has the option "Label Access On Parent Only" checked. This means that the "item" label that the found item gets assigned to is created on the parent token and thus shared between all subflow tokens. Previously this didn't cause an issue because without the Breathe, appending the item to the "OrderItems" array happens before the next token evaluates the Find Item activity.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_0-1749709088146.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1542800i1AC2D7FE393DCE7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_0-1749709088146.png" alt="moehlmann_fe_0-1749709088146.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With the Breathe, each token finishes looking for an item, overwriting the item from the previous token, before they get added to the array. So you end up with each entry in the array pointing to the same item.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_1-1749709291937.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1542801iA9CFDDC2001989AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_1-1749709291937.png" alt="moehlmann_fe_1-1749709291937.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You either want to only grant Read-Access on the parent token, so that each subflow token creates its own "item" label. Adding the item to the parent array still works, as you specify that the label is to be created on the "grand-parent" token.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_2-1749709505237.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1542802i51ABB497A037A65F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_2-1749709505237.png" alt="moehlmann_fe_2-1749709505237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Or you create an empty "item" label for the subflow tokens. If they have their own label, they will write to that, even if "Label Access On Parent Only" is active.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_3-1749709577784.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1542804i5AE1D4F74F3C1CE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_3-1749709577784.png" alt="moehlmann_fe_3-1749709577784.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tokens getting "stuck" in the Find Item activity is normal behaviour when no item matching the query can be found. They create back orders and will continue as soon as a matching item is available. If you want to skip missing items, activate the "Use Max Wait Timer" option and release the tokens through a second connector that skips adding a value to the parent array.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_4-1749709738959.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1542808iDB6B86E4A27B4DFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_4-1749709738959.png" alt="moehlmann_fe_4-1749709738959.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jun 2025 06:29:04 GMT</pubDate>
    <dc:creator>moehlmann_fe</dc:creator>
    <dc:date>2025-06-12T06:29:04Z</dc:date>
    <item>
      <title>Label Does not Exist Task Error &amp; Process Flow Source Downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13673462#M96552</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;I've built a model for a consolidation warehouse using only process flow (used one connection in the model for the sink) where I built logic for inbound and outbound operations, as well as for the initial inventory of the warehouse.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="4" color="#FF6600"&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; &lt;/FONT&gt;&lt;FONT size="4"&gt;I faced a task error&amp;nbsp;in the outbound logic when I ran the simulation. It is shown in the attached picture below. I'm not sure what causes the label not to be found. Could it by any chance be related to the Find Slot (in Initial Inventory and Inbound Logic) and Find Item (in Outbound logic) queries? As I had some instances where the tokens could get stuck there in some previous runs of the model.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;&lt;FONT size="4"&gt;2.&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="4"&gt;I used a timetable to set the working hours and added all task executors and queues. However, the sources couldn't be added as they are not in the 3D model and were added via the process flow. So I wonder if the sources would still be able to generate items in the model during the downtime intervals I set that included the queues to which the sources are linked.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;Any help is much appreciated!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;You can find the model file attached as well.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Task Error - Label Doesn't Exist.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1541880i2F37CFA4FE33CE18/image-size/large?v=v2&amp;amp;px=999" role="button" title="Task Error - Label Doesn't Exist.png" alt="Task Error - Label Doesn't Exist.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 23:51:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13673462#M96552</guid>
      <dc:creator>osama_rawwagah</dc:creator>
      <dc:date>2025-06-09T23:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Label Does not Exist Task Error &amp; Process Flow Source Downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13673732#M96555</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) The error is in the 'Local Outbound' logic, where you are trying to load 'token.Box', but the item is on the 'item' label in the token.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The 'item' label is set in Find Item Activity (in Outbound logic), so either change the label in Find Item, or change the loading item from 'token.Box' to 'token.item'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xavier_low_0-1749525711089.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1541935i57FF48F3EDC63A4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xavier_low_0-1749525711089.png" alt="xavier_low_0-1749525711089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Yes, t&lt;SPAN&gt;he sources in the Process Flow would still be able to generate items in the model during the downtime. If you want to stop creating the items during downtime, you can probably add a Decision to check if it is at the downtime.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 03:31:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13673732#M96555</guid>
      <dc:creator>xavier_low</dc:creator>
      <dc:date>2025-06-10T03:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Label Does not Exist Task Error &amp; Process Flow Source Downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13674134#M96565</link>
      <description>&lt;P&gt;Thanks for your reply, Xavier&lt;BR /&gt;Regarding the first point, I have tried your suggestions and unfortunately both of them returned errors. However, I believe they already are incompatible with the way of outbound logic I set in the model, which implements a series of labels through subflows to reference the number and SKU type of the items for each token generated by the source, which originally represents an order.&lt;BR /&gt;&lt;BR /&gt;For the second point, I figured I didn't need downtime at all.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 07:49:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13674134#M96565</guid>
      <dc:creator>osama_rawwagah</dc:creator>
      <dc:date>2025-06-10T07:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Label Does not Exist Task Error &amp; Process Flow Source Downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13677669#M96618</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17311663"&gt;@xavier_low&lt;/a&gt;&amp;nbsp;After revisiting the model, I found out that I had missed that the 'Box' label is created at the Subflow prior to the said loading activity (which is outside the subflow) thus it couldn't recognize the Box label. However, even after dealing with this, there was still something wrong with the Find Item activities in my outbound logic flows. The tokens would get stuck there and only a few get released in large intervals of the run. So, I tried adding Breathe (0) time delays after each &lt;STRONG&gt;Find Item &lt;/STRONG&gt;activity&amp;nbsp;and weirdly enough, this has caused the error&lt;FONT color="#993300"&gt;&amp;nbsp;&lt;EM&gt;"exception: FlexScript exception: Invalid down cast. Object is not an instance of the target type".&lt;/EM&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#993300"&gt;&lt;FONT color="#000000"&gt;I searched for it on the forum and didn't find anything helpful. Do you have any idea what might have caused it? I have attached the updated model. Thanks in advance!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 01:10:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13677669#M96618</guid>
      <dc:creator>osama_rawwagah</dc:creator>
      <dc:date>2025-06-12T01:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Label Does not Exist Task Error &amp; Process Flow Source Downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13678048#M96625</link>
      <description>&lt;P&gt;The Run Sub Flow activity has the option "Label Access On Parent Only" checked. This means that the "item" label that the found item gets assigned to is created on the parent token and thus shared between all subflow tokens. Previously this didn't cause an issue because without the Breathe, appending the item to the "OrderItems" array happens before the next token evaluates the Find Item activity.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_0-1749709088146.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1542800i1AC2D7FE393DCE7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_0-1749709088146.png" alt="moehlmann_fe_0-1749709088146.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With the Breathe, each token finishes looking for an item, overwriting the item from the previous token, before they get added to the array. So you end up with each entry in the array pointing to the same item.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_1-1749709291937.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1542801iA9CFDDC2001989AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_1-1749709291937.png" alt="moehlmann_fe_1-1749709291937.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You either want to only grant Read-Access on the parent token, so that each subflow token creates its own "item" label. Adding the item to the parent array still works, as you specify that the label is to be created on the "grand-parent" token.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_2-1749709505237.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1542802i51ABB497A037A65F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_2-1749709505237.png" alt="moehlmann_fe_2-1749709505237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Or you create an empty "item" label for the subflow tokens. If they have their own label, they will write to that, even if "Label Access On Parent Only" is active.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_3-1749709577784.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1542804i5AE1D4F74F3C1CE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_3-1749709577784.png" alt="moehlmann_fe_3-1749709577784.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tokens getting "stuck" in the Find Item activity is normal behaviour when no item matching the query can be found. They create back orders and will continue as soon as a matching item is available. If you want to skip missing items, activate the "Use Max Wait Timer" option and release the tokens through a second connector that skips adding a value to the parent array.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_4-1749709738959.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1542808iDB6B86E4A27B4DFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_4-1749709738959.png" alt="moehlmann_fe_4-1749709738959.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 06:29:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13678048#M96625</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-06-12T06:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Label Does not Exist Task Error &amp; Process Flow Source Downtime</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13682493#M96664</link>
      <description>&lt;P&gt;Thanks a lot for your help,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17311663"&gt;@xavier_low&lt;/a&gt; and&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17286793"&gt;@moehlmann_fe&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jun 2025 19:54:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/label-does-not-exist-task-error-amp-process-flow-source-downtime/m-p/13682493#M96664</guid>
      <dc:creator>osama_rawwagah</dc:creator>
      <dc:date>2025-06-15T19:54:35Z</dc:date>
    </item>
  </channel>
</rss>

