<?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: Process Flow Global Table Lookup in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581216#M79127</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/43643/howy3508.html" nodeid="43643"&gt;@Howard&lt;/A&gt;, I would suggest refactoring your model to not use the GlobalTable as a sequence of events because they may not happen in the order you're expecting. For example, don't have scheduled events for the Operator to move finished objects off the Processor to "QueueOut". Instead, just have output connections from Processors to QueueOut and have the Operator as the guy in charge of moving them there through 3D logic -- that way you don't have to worry about it not happening in that order in the sequence.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712869373092.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523334i8ECB60D3EACB4B8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712869373092.png" alt="1712869373092.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The "Output" section of a Processor's quick properties:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712869398873.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523333iF601CB868A5212E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712869398873.png" alt="1712869398873.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now let's look at the Process Flow. I don't suggest going through the Global Table row by row when you are also waiting for (and expected) boxes to appear before a specific time. Instead, you can make an Event-Triggered Source to make a token when an item enters QueueIn. You can then assign that entering item the label "token.Item" instead of trying to find it every time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712869557559.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523335iBF479A0AF3FE4597/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712869557559.png" alt="1712869557559.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can still use the "row" label, but instead we can keep it on the ProcessFlow itself and increment it when each item becomes available. That way we don't have possible overlaps.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712869667973.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523336iF93E10790C074A96/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712869667973.png" alt="1712869667973.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In doing so, we can also get the Setup and Process times off the Global Table and put them on the item in the 3D space. That way the Processor can actually read the item's setup and process time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712869718752.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523337i0E680A6A09BA020C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712869718752.png" alt="1712869718752.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the Processor's quick properties:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712869735244.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523339i302DF0DB6B4CBFFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712869735244.png" alt="1712869735244.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/81471-globaltabledemohr-20240408-2.fsm" target="_blank"&gt;globaltabledemohr-20240408_2.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 11 Apr 2024 21:10:53 GMT</pubDate>
    <dc:creator>kavika_faleumu</dc:creator>
    <dc:date>2024-04-11T21:10:53Z</dc:date>
    <item>
      <title>Process Flow Global Table Lookup</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581212#M79123</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 24.0.2 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;There are a few things that I want to accomplish.&lt;/P&gt;
 &lt;OL&gt;&lt;LI&gt;Move box item from one queue to another based on the global table destination.&lt;/LI&gt;&lt;LI&gt;Processor looks up setup and process time from the global table values.&lt;/LI&gt;&lt;LI&gt;The number of boxes by product types in the sources can be updated to different quantities.&lt;/LI&gt;&lt;LI&gt;The number of processors connected to the queue can be different quantities.&lt;/LI&gt;&lt;/OL&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712590677798.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523344i1687612965DC03A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712590677798.png" alt="1712590677798.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;There are some issues that I encountered:&lt;/P&gt;
 &lt;P&gt;1.The token is not reading the destination from global table correctly. How to enable a "drop sample icon" so I can pick the queue that I want?&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712590579956.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523343i090A711F56C56AC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712590579956.png" alt="1712590579956.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712590657975.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523345i6E4698665526461B/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712590657975.png" alt="1712590657975.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;2. The operator1 is picking up the box item while processor is running and not completed yet.&lt;/P&gt;
 &lt;P&gt;3. Queue 1 send 2 box items to Processor 1 and Processor 2 but only one box is move to the next destination.&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712591090035.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523346i9990E792F54DD5B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712591090035.png" alt="1712591090035.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/81258-globaltabledemohr-20240408.fsm" target="_blank"&gt;globaltabledemo&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt; 20240408.fsm&lt;P&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Apr 2024 16:00:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581212#M79123</guid>
      <dc:creator>howy3508</dc:creator>
      <dc:date>2024-04-08T16:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Process Flow Global Table Lookup</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581213#M79124</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/43643/howy3508.html" nodeid="43643"&gt;@Howard&lt;/A&gt;, firstly, if you want the setup and process time of your processors to be determined by a variable value, you can't use "token.SetupTime" since the Processor doesn't know what "token" is. An alternative is to do a Global Table Lookup based on the item's type (if they have different types) or the "If Item Label Value Changes" option for when the label value changes -- then you can setup different processing times.&lt;/P&gt;&lt;P&gt;Concerning your Global Table, if you want a pointer cell value, you need to assign that cell to have that type of data.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712596691730.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523332i7851F9713B2BD93C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712596691730.png" alt="1712596691730.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you right-click on the cell, you can assign it that type of data. You can highlight all the cells you want and mass-edit them like this. Then you'll get the dropper to select the object you want.&lt;/P&gt;&lt;P&gt;Another way is to do "Model.find(token.Destination)" to do a lookup on the string you have saved in the table. This will return a pointer to that object that you can store on another label.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Apr 2024 17:19:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581213#M79124</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2024-04-08T17:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Process Flow Global Table Lookup</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581214#M79125</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/35833/kavikaf.html" nodeid="35833"&gt;@Kavika F&lt;/A&gt; &lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/81292-globaltabledemohr-20240408.fsm" target="_blank"&gt;globaltabledemo&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt; 20240408.fsm&lt;P&gt;&lt;/P&gt;
 &lt;P id="isPasted"&gt;Hi Kavika,&lt;/P&gt;
 &lt;P&gt;I was able to fix the Destination by setting the cell type to pointer. If I want to use the alternate method, where do I put the &lt;SPAN style="color: rgb(51, 51, 51); font-family: "&gt;"Model.find(token.Destination)" ?&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P&gt;I am trying to route the box to the right destination first so I remove the process time lookup for now.&lt;/P&gt;
 &lt;P&gt;It is showing error when I tried to run now. How do I troubleshoot it? The error happened when the operator1 unload the first box onto the Queue1.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Image.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523338iD1A0DF6282E30E3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image.png" alt="Image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Apr 2024 17:55:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581214#M79125</guid>
      <dc:creator>howy3508</dc:creator>
      <dc:date>2024-04-08T17:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Process Flow Global Table Lookup</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581215#M79126</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/24344/jeanettef.html" nodeid="24344"&gt;@Jeanette F&lt;/A&gt; &lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/81342-globaltabledemohr-globallist-20240409-v0.fsm" target="_blank"&gt;globaltabledemo&lt;/A&gt;&lt;/P&gt;&lt;HR /&gt; [GlobalList] 20240409 V0.fsm&lt;P&gt;&lt;/P&gt;
 &lt;P&gt;Hi Jeanette,&lt;/P&gt;
 &lt;P&gt;I have included a list to pull the box instead of just pull the box directly from the queueIn but it's not pulling the token properly it looks like. (see attached)&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Apr 2024 20:19:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581215#M79126</guid>
      <dc:creator>howy3508</dc:creator>
      <dc:date>2024-04-09T20:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Process Flow Global Table Lookup</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581216#M79127</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/43643/howy3508.html" nodeid="43643"&gt;@Howard&lt;/A&gt;, I would suggest refactoring your model to not use the GlobalTable as a sequence of events because they may not happen in the order you're expecting. For example, don't have scheduled events for the Operator to move finished objects off the Processor to "QueueOut". Instead, just have output connections from Processors to QueueOut and have the Operator as the guy in charge of moving them there through 3D logic -- that way you don't have to worry about it not happening in that order in the sequence.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712869373092.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523334i8ECB60D3EACB4B8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712869373092.png" alt="1712869373092.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The "Output" section of a Processor's quick properties:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712869398873.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523333iF601CB868A5212E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712869398873.png" alt="1712869398873.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now let's look at the Process Flow. I don't suggest going through the Global Table row by row when you are also waiting for (and expected) boxes to appear before a specific time. Instead, you can make an Event-Triggered Source to make a token when an item enters QueueIn. You can then assign that entering item the label "token.Item" instead of trying to find it every time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712869557559.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523335iBF479A0AF3FE4597/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712869557559.png" alt="1712869557559.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can still use the "row" label, but instead we can keep it on the ProcessFlow itself and increment it when each item becomes available. That way we don't have possible overlaps.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712869667973.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523336iF93E10790C074A96/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712869667973.png" alt="1712869667973.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In doing so, we can also get the Setup and Process times off the Global Table and put them on the item in the 3D space. That way the Processor can actually read the item's setup and process time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712869718752.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523337i0E680A6A09BA020C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712869718752.png" alt="1712869718752.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the Processor's quick properties:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1712869735244.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1523339i302DF0DB6B4CBFFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1712869735244.png" alt="1712869735244.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/81471-globaltabledemohr-20240408-2.fsm" target="_blank"&gt;globaltabledemohr-20240408_2.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Apr 2024 21:10:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581216#M79127</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2024-04-11T21:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Process Flow Global Table Lookup</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581217#M79128</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/43643/howy3508.html" nodeid="43643"&gt;@Howard&lt;/A&gt;, was one of Howard's or Kavika F's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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>Mon, 22 Apr 2024 20:39:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/process-flow-global-table-lookup/m-p/13581217#M79128</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2024-04-22T20:39:13Z</dc:date>
    </item>
  </channel>
</rss>

