<?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: Simple concept proving difficult for newbie to implement - Cranes and lists in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/simple-concept-proving-difficult-for-newbie-to-implement-cranes/m-p/13536148#M43912</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/25749/stephenm2.html" nodeid="25749"&gt;@Stephen M2&lt;/A&gt;, you just about had it right in your model. The main thing you were missing was a reference to the items themselves in the list. Because of this, the process flow didn't know what items it was supposed to tell the crane to move. There were a couple things I did to fix this issue. First, on the Wait for Event sources I added a piece that records the item that entered the queue (which caused the token to be created in the first place). You can see how I did that in the image below. I assign a label to the token called "Item" that stores a reference to the item that entered the queue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1624480039776.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1506564i5FC3E7AD043167E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="1624480039776.png" alt="1624480039776.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Next, on the Push to List activity I changed the Push Value to token.Item. This will push the item to the list instead of the token. Now when the Pull from List activity happens, it will pull a reference to the item in the model that we want to move. One other thing I changed was the Query in the Pull from List activity. I changed it to be WHERE Product = Puller.Product. This will pull items from the list that match the Product value of the Puller. In this case, the token is set to be the Puller so it's really matching the token.Product label if that makes sense.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1624480673252.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1506565i933E0A7ACAB1BCF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="1624480673252.png" alt="1624480673252.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As a bonus, I also added a second process flow to give you an example of how some of your activities could be consolidated if you wanted (by no means necessary, just if you were curious). To see how this works, just connect the sources to the activities below them and remember to disconnect the sources in the original process flow.&lt;/P&gt;&lt;P&gt;Let me know if you have any questions about this!&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/41112-listtestclosest-em.fsm" target="_blank"&gt;listtestclosest-em.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 23 Jun 2021 20:38:28 GMT</pubDate>
    <dc:creator>eric_m3</dc:creator>
    <dc:date>2021-06-23T20:38:28Z</dc:date>
    <item>
      <title>Simple concept proving difficult for newbie to implement - Cranes and lists</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/simple-concept-proving-difficult-for-newbie-to-implement-cranes/m-p/13536147#M43911</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;The attached model put 3 boxes into 3 queues. The process logic loads the list upon entry to the queues all at time 0. Then a token is created at time =20 and wants to pick up the box at queue2 and deliver it to the processor1. This should be easy but I can't get it done. Please help me to learn flexsim better.&lt;/P&gt;
 &lt;P&gt;Thank you&lt;/P&gt;
 &lt;P&gt; &lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/41084-listtestclosest.fsm" target="_blank"&gt;listTestClosest.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Jun 2021 18:03:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/simple-concept-proving-difficult-for-newbie-to-implement-cranes/m-p/13536147#M43911</guid>
      <dc:creator>stephen_m2</dc:creator>
      <dc:date>2021-06-23T18:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Simple concept proving difficult for newbie to implement - Cranes and lists</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/simple-concept-proving-difficult-for-newbie-to-implement-cranes/m-p/13536148#M43912</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/25749/stephenm2.html" nodeid="25749"&gt;@Stephen M2&lt;/A&gt;, you just about had it right in your model. The main thing you were missing was a reference to the items themselves in the list. Because of this, the process flow didn't know what items it was supposed to tell the crane to move. There were a couple things I did to fix this issue. First, on the Wait for Event sources I added a piece that records the item that entered the queue (which caused the token to be created in the first place). You can see how I did that in the image below. I assign a label to the token called "Item" that stores a reference to the item that entered the queue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1624480039776.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1506564i5FC3E7AD043167E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="1624480039776.png" alt="1624480039776.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Next, on the Push to List activity I changed the Push Value to token.Item. This will push the item to the list instead of the token. Now when the Pull from List activity happens, it will pull a reference to the item in the model that we want to move. One other thing I changed was the Query in the Pull from List activity. I changed it to be WHERE Product = Puller.Product. This will pull items from the list that match the Product value of the Puller. In this case, the token is set to be the Puller so it's really matching the token.Product label if that makes sense.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1624480673252.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1506565i933E0A7ACAB1BCF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="1624480673252.png" alt="1624480673252.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As a bonus, I also added a second process flow to give you an example of how some of your activities could be consolidated if you wanted (by no means necessary, just if you were curious). To see how this works, just connect the sources to the activities below them and remember to disconnect the sources in the original process flow.&lt;/P&gt;&lt;P&gt;Let me know if you have any questions about this!&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/41112-listtestclosest-em.fsm" target="_blank"&gt;listtestclosest-em.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Jun 2021 20:38:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/simple-concept-proving-difficult-for-newbie-to-implement-cranes/m-p/13536148#M43912</guid>
      <dc:creator>eric_m3</dc:creator>
      <dc:date>2021-06-23T20:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Simple concept proving difficult for newbie to implement - Cranes and lists</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/simple-concept-proving-difficult-for-newbie-to-implement-cranes/m-p/13536149#M43913</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;A rel="user" href="https://answers.flexsim.com/users/29530/ericm3.html" nodeid="29530"&gt;@Eric M&lt;/A&gt; Thanks so much. I have 40 years of modeling experience mostly with arena but very little with these modern object oriented language/tools. I knew it was because the flowitem wasn't tied to the process flow tokens but just didn't know how to do it. I do like flexsim but still much for me to learn
 &lt;P&gt;Steve&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Jun 2021 00:00:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/simple-concept-proving-difficult-for-newbie-to-implement-cranes/m-p/13536149#M43913</guid>
      <dc:creator>stephen_m2</dc:creator>
      <dc:date>2021-06-24T00:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Simple concept proving difficult for newbie to implement - Cranes and lists</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/simple-concept-proving-difficult-for-newbie-to-implement-cranes/m-p/13536150#M43914</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;That's great! Thanks for reaching out, we're always happy to help as you keep learning the software.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Jun 2021 14:09:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/simple-concept-proving-difficult-for-newbie-to-implement-cranes/m-p/13536150#M43914</guid>
      <dc:creator>eric_m3</dc:creator>
      <dc:date>2021-06-24T14:09:40Z</dc:date>
    </item>
  </channel>
</rss>

