<?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: Why can't the name of unload item be recorded? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/why-can-t-the-name-of-unload-item-be-recorded/m-p/13597859#M92209</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You have two tokens that each write to the same cells. So the second token overwrites the values of the first. You could instead initialize the cell as an empty array and push values to it.&lt;/P&gt;&lt;P&gt;The subflow tokens also both refer to the same item because the "unloaditem" label is assigned on the parent token and also overwritten by the second pull. That both items are unloaded is 'lucky' in that the timing of actions works out. But to not potentially run into issues later, the "Label Access On Parent Only" option in the Run Sub Flow activity should be unchecked.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/84577-example2-try-to-record-step-with-true-multiload-an.fsm" target="_blank"&gt;example2-try-to-record-step-with-true-multiload-an_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 08 Jul 2024 06:11:37 GMT</pubDate>
    <dc:creator>moehlmann_fe</dc:creator>
    <dc:date>2024-07-08T06:11:37Z</dc:date>
    <item>
      <title>Why can't the name of unload item be recorded?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/why-can-t-the-name-of-unload-item-be-recorded/m-p/13597858#M92208</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.15 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I wrote custom code to record the name of the unloaded item and the nth time the item was unloaded.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1720184815769.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1524572i848FCE27EEFCFDD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="1720184815769.png" alt="1720184815769.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;There is a problem I encounter. &lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1720184993719.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1524574iBF5F891E01CBB5ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="1720184993719.png" alt="1720184993719.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;In Row3, AGV is expected to unload 2 items which are Type 1. (Column 8, as indicated by the red box.)&lt;/P&gt;
 &lt;P&gt;But when I print the name of the unloaded item, it is supposed that two item names will be printed, but in fact only one of the item names is printed.(Column 11, as indicated by the orange box.)&lt;/P&gt;
 &lt;P&gt;The nth time the item which was unloaded is also be wrong.&lt;/P&gt;
 &lt;P&gt;&lt;STRONG&gt;I want to calculate how many times each item has been unloaded, and where it was &lt;STRONG&gt;unloaded&lt;/STRONG&gt; each time.&lt;/STRONG&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/84540-example2-try-to-record-step-with-true-multiload-an.fsm" target="_blank"&gt;example2- try to record step with true multiload and realtime.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 Jul 2024 13:20:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/why-can-t-the-name-of-unload-item-be-recorded/m-p/13597858#M92208</guid>
      <dc:creator>Penny1</dc:creator>
      <dc:date>2024-07-05T13:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't the name of unload item be recorded?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/why-can-t-the-name-of-unload-item-be-recorded/m-p/13597859#M92209</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;You have two tokens that each write to the same cells. So the second token overwrites the values of the first. You could instead initialize the cell as an empty array and push values to it.&lt;/P&gt;&lt;P&gt;The subflow tokens also both refer to the same item because the "unloaditem" label is assigned on the parent token and also overwritten by the second pull. That both items are unloaded is 'lucky' in that the timing of actions works out. But to not potentially run into issues later, the "Label Access On Parent Only" option in the Run Sub Flow activity should be unchecked.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/84577-example2-try-to-record-step-with-true-multiload-an.fsm" target="_blank"&gt;example2-try-to-record-step-with-true-multiload-an_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Jul 2024 06:11:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/why-can-t-the-name-of-unload-item-be-recorded/m-p/13597859#M92209</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2024-07-08T06:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't the name of unload item be recorded?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/why-can-t-the-name-of-unload-item-be-recorded/m-p/13597860#M92210</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/43717/penny.html" nodeid="43717"&gt;@mni_pei&lt;/A&gt;, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;&lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Jul 2024 02:52:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/why-can-t-the-name-of-unload-item-be-recorded/m-p/13597860#M92210</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2024-07-12T02:52:21Z</dc:date>
    </item>
  </channel>
</rss>

