<?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: Pull item based on object assigned label in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501717#M16747</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;A rel="user" href="https://answers.flexsim.com/users/226/jason.l.html" nodeid="226"&gt;@Jason Lightfoot&lt;/A&gt; Please Can you make the changes to my model that your telling me.
&lt;/DIV&gt;</description>
    <pubDate>Wed, 02 Nov 2022 05:47:10 GMT</pubDate>
    <dc:creator>priyankasgoudar33</dc:creator>
    <dc:date>2022-11-02T05:47:10Z</dc:date>
    <item>
      <title>Pull item based on object assigned label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501710#M16740</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.10 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi I have a model where I am creating a label "a" in my processor1. whenever part a enter it has label ID1 the same should be assigned to the label present in Processor as "ID1" that I'm creating in process flow. next there are two buffer it should pull the parts with referring to label present in Processor i.e, "a" . If "a" has "ID1" pull to Queue1 and if "a" has "ID2" pull to Queue2.&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/60271-sample1.fsm" target="_blank"&gt;sample1.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 31 Oct 2022 08:09:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501710#M16740</guid>
      <dc:creator>priyankasgoudar33</dc:creator>
      <dc:date>2022-10-31T08:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pull item based on object assigned label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501711#M16741</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;The process flow in your model is doing nothing as far as I can tell - and even if you put ID1 and ID2 on the items (which your process flow needs) the effect is to acheive nothing.  &lt;/P&gt;&lt;P&gt;Put the ID1 and ID2 labels on your items and have the queues pull those IDs under the pull requirement.  &lt;/P&gt;&lt;P&gt;What you have is overcomplicated for what you seem to be trying to do.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 31 Oct 2022 14:21:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501711#M16741</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-10-31T14:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pull item based on object assigned label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501712#M16742</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/34096/priyankag.html" nodeid="34096"&gt;@mary&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;If you want to have the value of the label "a" on your processor change based on the item ID label, you can add an on entry trigger that updates the label value on your processor to be the value of items ID label. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="on-entry.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1513649iBFB5C085999F776C/image-size/large?v=v2&amp;amp;px=999" role="button" title="on-entry.jpg" alt="on-entry.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With how you have set up your model, instead of having your queues pull the items, you can instead have the processor send the items to the correct queue. I wrote a small bit of code that checks the value of "a" and then sent the item to either port 1 or 2. &lt;/P&gt;&lt;PRE&gt;if (current.a == "ID1"){
return 1;
}
else if (current.a == "ID2"){
return 2;
}&lt;/PRE&gt;&lt;P&gt;If you wanted to have the items pushed to a list and then have the queues pull each item based on their ID label, it would be easier to just use the item ID and not worry about using a label on the processor. That could be done by adding a label field on the List called ID, and then adding a query that pulls items WHERE ID = "IDValue". &lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 31 Oct 2022 14:25:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501712#M16742</guid>
      <dc:creator>Jacob_White</dc:creator>
      <dc:date>2022-10-31T14:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pull item based on object assigned label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501713#M16743</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thank you 
 &lt;A rel="user" href="https://answers.flexsim.com/users/34862/jacobw2.html" nodeid="34862"&gt;@Jacob W2&lt;/A&gt; I know i can directly use ID assigned to item but there is other model I am trying were i need this condition. the code you have given is working but what i want if both this condition is not true it should stop sending item.
&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Nov 2022 08:17:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501713#M16743</guid>
      <dc:creator>priyankasgoudar33</dc:creator>
      <dc:date>2022-11-01T08:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pull item based on object assigned label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501714#M16744</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;A rel="user" href="https://answers.flexsim.com/users/226/jason.l.html" nodeid="226"&gt;@Jason Lightfoot&lt;/A&gt; I know but this model just for understanding. I have other model where I am using this method it's different I wanted to know how can I use that label to pull item. The answer given by 
 &lt;A rel="user" href="https://answers.flexsim.com/users/34862/jacobw2.html" nodeid="34862"&gt;@Jacob W2&lt;/A&gt; it pulls ID value even it is not assigned any I want to pull only assigned ID item.
&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Nov 2022 12:12:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501714#M16744</guid>
      <dc:creator>priyankasgoudar33</dc:creator>
      <dc:date>2022-11-01T12:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pull item based on object assigned label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501715#M16745</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;When you pull you refer to an item.  You are changing the label on a processor.  Your pull requirement would be item.up.a=="ID1".  Why do that when you can just inspect the items value?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Nov 2022 12:25:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501715#M16745</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-11-01T12:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pull item based on object assigned label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501716#M16746</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;If you need to control the release of the item there are &lt;EM&gt;many &lt;/EM&gt;ways to do that- with port closure,  or by choosing "do not release" in the send to port and have a process flow release the item.&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Nov 2022 12:30:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501716#M16746</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-11-01T12:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pull item based on object assigned label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501717#M16747</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;A rel="user" href="https://answers.flexsim.com/users/226/jason.l.html" nodeid="226"&gt;@Jason Lightfoot&lt;/A&gt; Please Can you make the changes to my model that your telling me.
&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Nov 2022 05:47:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501717#M16747</guid>
      <dc:creator>priyankasgoudar33</dc:creator>
      <dc:date>2022-11-02T05:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pull item based on object assigned label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501718#M16748</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/60384-sample1-jl.fsm" target="_blank"&gt;sample1_jl.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Nov 2022 08:00:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501718#M16748</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-11-02T08:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pull item based on object assigned label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501719#M16749</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/226/jason.l.html" nodeid="226"&gt;@Jason Lightfoot&lt;/A&gt; not this the one you told about item.up.a =="ID1" . This show in the model.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Nov 2022 08:40:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501719#M16749</guid>
      <dc:creator>priyankasgoudar33</dc:creator>
      <dc:date>2022-11-02T08:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pull item based on object assigned label</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501720#M16750</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/60393-sample1-jl2.fsm" target="_blank"&gt;sample1_jl2.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Nov 2022 09:18:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/pull-item-based-on-object-assigned-label/m-p/13501720#M16750</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2022-11-02T09:18:52Z</dc:date>
    </item>
  </channel>
</rss>

