<?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: Table with components to rack with a script (Simulating Picking process in warehouse) in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13720810#M97084</link>
    <description>&lt;P&gt;The Start and Finish activities are meant for a different purpose (as start and end point of sub flows). They don't create tokens on their own. You need to place a Source activity that creates a token. The code is executed when a token enters the Custom Code activity. By default the Schedule Source is configured to create a single token at the start of the model run. Maybe take a look at the Process Flow documentation if you are unfamiliar with it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_0-1752225313216.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1551484i6348572D5939CB62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_0-1752225313216.png" alt="moehlmann_fe_0-1752225313216.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.flexsim.com/en/24.1/ModelLogic/ProcessFlowBasics/OverviewProcessFlowInterface/OverviewProcessFlowInterface.html" target="_blank"&gt;https://docs.flexsim.com/en/24.1/ModelLogic/ProcessFlowBasics/OverviewProcessFlowInterface/OverviewProcessFlowInterface.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jul 2025 09:18:59 GMT</pubDate>
    <dc:creator>FelixMoehlmann</dc:creator>
    <dc:date>2025-07-11T09:18:59Z</dc:date>
    <item>
      <title>Table with components to rack with a script (Simulating Picking process in warehouse)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13719231#M97056</link>
      <description>&lt;P&gt;Hello guys,&amp;nbsp;&lt;BR /&gt;I'm really new into Flexsim, but was wondering how can i do that.&amp;nbsp;&lt;BR /&gt;I set up a logic in "Storage System" where aisle is the Rack, level and the slots per bay. our logic here is for example: 01-01-45 - this is Rack 1, level 1, 45 cell (there are 3 cells in every bay? don't know how to show it here)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaushevk_0-1752145768383.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1551098i28BF5A9AB2B5CC4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaushevk_0-1752145768383.png" alt="chaushevk_0-1752145768383.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaushevk_1-1752145873262.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1551099i64DBAA985C0CD0E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaushevk_1-1752145873262.png" alt="chaushevk_1-1752145873262.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But then i want to fill this rack up with components that i have already have exported in a table. example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaushevk_2-1752145941092.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1551100iE82967D6D4849A10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaushevk_2-1752145941092.png" alt="chaushevk_2-1752145941092.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(of course it is more complicated in reality, but i'm just testing)&lt;BR /&gt;Added a script block (and the same script in process flow), but can't seem to find the reason why i can't assign locations to the components. Any ideas?&amp;nbsp;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 11:15:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13719231#M97056</guid>
      <dc:creator>chaushevk</dc:creator>
      <dc:date>2025-07-10T11:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table with components to rack with a script (Simulating Picking process in warehouse)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13719324#M97058</link>
      <description>&lt;P&gt;The table name doesn't match what the code expects and the Aisle ID is not set on the rack (needs to be "01", not just "1").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 12:17:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13719324#M97058</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2025-07-10T12:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table with components to rack with a script (Simulating Picking process in warehouse)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13720508#M97073</link>
      <description>&lt;P&gt;It matches with the uploaded one, but in flexsim it's "Globaltable1", do i change it there as well? I didn't new. I changed it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaushevk_1-1752212706383.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1551394i19CE2C702423D550/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaushevk_1-1752212706383.png" alt="chaushevk_1-1752212706383.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaushevk_2-1752213420686.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1551396i1233072462B1A99C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaushevk_2-1752213420686.png" alt="chaushevk_2-1752213420686.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and i added 01 to "Aisle", is this the correct place?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaushevk_3-1752213454986.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1551397i9D8A6B7A5EA1EE0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaushevk_3-1752213454986.png" alt="chaushevk_3-1752213454986.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After these changed, something happened, but not really.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaushevk_4-1752213565914.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1551398iADC12E89987BCBDE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaushevk_4-1752213565914.png" alt="chaushevk_4-1752213565914.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see one of the components is visible (next to the rack on the floor), but it's not on the rack and the operator doesn't register it to take it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chaushevk_5-1752213627162.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1551399i2A55EE28B51047AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chaushevk_5-1752213627162.png" alt="chaushevk_5-1752213627162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and i see all the components here in "Main" tree, but not on the Rack. Do i need another table to have every location to match every rack Aisle/bay/number? Or somehing in the code makes it go on the ground? (i put 2 operators to just pick from the queue and the rack to test if it even register them)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 06:02:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13720508#M97073</guid>
      <dc:creator>chaushevk</dc:creator>
      <dc:date>2025-07-11T06:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table with components to rack with a script (Simulating Picking process in warehouse)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13720512#M97074</link>
      <description>&lt;P&gt;Oh, i saw you sent a fixed one too, but can you place explain what exactly did you do, so it works like that on reset and everything is on the rack? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; And do i need both the BasicFR1 and the processflow code, or i can remove the box maybe&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 06:06:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13720512#M97074</guid>
      <dc:creator>chaushevk</dc:creator>
      <dc:date>2025-07-11T06:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Table with components to rack with a script (Simulating Picking process in warehouse)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13720664#M97078</link>
      <description>&lt;P&gt;I added the "moveobject()" command to the code to actually move the items into the rack after they are assigned a slot (only in the BasicFR trigger). Assigning a slot on defines where the item should be placed when transported to the storage object the assigned object is in. It does not cause the item to move.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_0-1752219275256.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1551448iD00F1B0D232EF4EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_0-1752219275256.png" alt="moehlmann_fe_0-1752219275256.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No you don't need both codes. Personally I would go with executing the code in Process Flow when the model starts rather than creating the items on reset.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 07:35:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13720664#M97078</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2025-07-11T07:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Table with components to rack with a script (Simulating Picking process in warehouse)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13720680#M97080</link>
      <description>&lt;P&gt;Ok, thanks. When i remove the block and copy your code in the processflow "customcode" block, it doesn't actually trigger. I'm really bad at this coding stuff and i'm trying to get help from ChatGpt, but no success so far. And this project is something i need to do. With it working, then it would be easy to change the components in the table and it should still work, right? Like putting for example 35 racks with more level and 45 bays or whatever. Nothing is is specified in the code, so i guess it's not a problem? Thanks a lot for the help too.. apparently can't do it myself&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 07:45:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13720680#M97080</guid>
      <dc:creator>chaushevk</dc:creator>
      <dc:date>2025-07-11T07:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table with components to rack with a script (Simulating Picking process in warehouse)</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13720810#M97084</link>
      <description>&lt;P&gt;The Start and Finish activities are meant for a different purpose (as start and end point of sub flows). They don't create tokens on their own. You need to place a Source activity that creates a token. The code is executed when a token enters the Custom Code activity. By default the Schedule Source is configured to create a single token at the start of the model run. Maybe take a look at the Process Flow documentation if you are unfamiliar with it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_0-1752225313216.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1551484i6348572D5939CB62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_0-1752225313216.png" alt="moehlmann_fe_0-1752225313216.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.flexsim.com/en/24.1/ModelLogic/ProcessFlowBasics/OverviewProcessFlowInterface/OverviewProcessFlowInterface.html" target="_blank"&gt;https://docs.flexsim.com/en/24.1/ModelLogic/ProcessFlowBasics/OverviewProcessFlowInterface/OverviewProcessFlowInterface.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 09:18:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/table-with-components-to-rack-with-a-script-simulating-picking/m-p/13720810#M97084</guid>
      <dc:creator>FelixMoehlmann</dc:creator>
      <dc:date>2025-07-11T09:18:59Z</dc:date>
    </item>
  </channel>
</rss>

