<?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: first destination in a job shop in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/first-destination-in-a-job-shop/m-p/13489332#M7166</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;@Óscar Manuel CMN&lt;/P&gt;&lt;P&gt;There are two issues I see right off of the bat.  &lt;/P&gt;&lt;P&gt;1) You are referring to "item" in your code. That is not a declared variable.  When you are working in process flow, the entity is called "token", not item.  If you were wanting to connect the token with an item, you don't have a label doing so.&lt;/P&gt;&lt;P&gt;2)Even if you had token instead of item, you are referencing a label called TipoTrabajo. The token doesn't have any labels, let alone a label called TipoTrabajo.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29994-2020-06-19-10-32-31.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1502591i54CE51E1176C8E7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="29994-2020-06-19-10-32-31.png" alt="29994-2020-06-19-10-32-31.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My guess, is that you are wanting to have the item and the token connected. Why not just have your process flow create the item in the queue instead of a source and then add the label?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29988-1592584819779.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1502592iE79B51D3D17626C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="29988-1592584819779.png" alt="29988-1592584819779.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Another option would be to keep your current source and code but switch your process flow source to an "Event Triggered Source" where it creates a token every time an item enters the queue and then it ties to two together with an "item" label.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29995-1592584962496.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1502593i3BBAD3CEA6F44003/image-size/large?v=v2&amp;amp;px=999" role="button" title="29995-1592584962496.png" alt="29995-1592584962496.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Both methods would work.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 19 Jun 2020 16:44:21 GMT</pubDate>
    <dc:creator>brenton_king</dc:creator>
    <dc:date>2020-06-19T16:44:21Z</dc:date>
    <item>
      <title>first destination in a job shop</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/first-destination-in-a-job-shop/m-p/13489331#M7165</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.0.6 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;BR /&gt;The question I ask below is the same as in this post: &lt;A rel="nofollow noopener noreferrer" href="https://answers.flexsim.com/answers/86286/view.html" target="_blank"&gt;https://answers.flexsim.com/answers/86286/view.html&lt;/A&gt;&lt;BR /&gt;The problem was that he wanted the operators to remove the jobs, ordering them according to a shorter changeover time. To do this, I created a field expression in the "Orders" list to calculate the setup time (ST). The problem was that at first the Destination tag had no reference.&lt;BR /&gt;In that matter, I was recommended to put an assign labels at the beginning initializing the first destination. But now I have a destination depending on the type of work. I have tried an assign labels at the beginning of everything but of course, the "TipoTrabajo" label is not identified. Any solution?&lt;/P&gt;
 &lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/29753-simset-whn1-sq-k2-1.fsm" target="_blank"&gt;SIMSET-WHN1-SQ-k2_1.fsm&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 13 Jun 2020 14:59:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/first-destination-in-a-job-shop/m-p/13489331#M7165</guid>
      <dc:creator>oscar_manuel_cmn</dc:creator>
      <dc:date>2020-06-13T14:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: first destination in a job shop</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/first-destination-in-a-job-shop/m-p/13489332#M7166</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;@Óscar Manuel CMN&lt;/P&gt;&lt;P&gt;There are two issues I see right off of the bat.  &lt;/P&gt;&lt;P&gt;1) You are referring to "item" in your code. That is not a declared variable.  When you are working in process flow, the entity is called "token", not item.  If you were wanting to connect the token with an item, you don't have a label doing so.&lt;/P&gt;&lt;P&gt;2)Even if you had token instead of item, you are referencing a label called TipoTrabajo. The token doesn't have any labels, let alone a label called TipoTrabajo.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29994-2020-06-19-10-32-31.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1502591i54CE51E1176C8E7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="29994-2020-06-19-10-32-31.png" alt="29994-2020-06-19-10-32-31.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My guess, is that you are wanting to have the item and the token connected. Why not just have your process flow create the item in the queue instead of a source and then add the label?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29988-1592584819779.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1502592iE79B51D3D17626C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="29988-1592584819779.png" alt="29988-1592584819779.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Another option would be to keep your current source and code but switch your process flow source to an "Event Triggered Source" where it creates a token every time an item enters the queue and then it ties to two together with an "item" label.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="29995-1592584962496.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1502593i3BBAD3CEA6F44003/image-size/large?v=v2&amp;amp;px=999" role="button" title="29995-1592584962496.png" alt="29995-1592584962496.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Both methods would work.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Jun 2020 16:44:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/first-destination-in-a-job-shop/m-p/13489332#M7166</guid>
      <dc:creator>brenton_king</dc:creator>
      <dc:date>2020-06-19T16:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: first destination in a job shop</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/first-destination-in-a-job-shop/m-p/13489333#M7167</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/22193/oscar-manuelcmn.html" nodeid="22193"&gt;@Óscar Manuel CMN&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Attached is your model with the changes that I've made.  I'm still fuzzy on all of your logic but this model will get you past the point where you were having the problem anyway.  Take a look at the model and see if this method would/will work for you.&lt;/P&gt;&lt;P&gt;If you have any questions or problems, please let us know.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/30013-simset-whn1-sq-k2-1-jn1.fsm" target="_blank"&gt;simset-whn1-sq-k2-1-JN1.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Jun 2020 17:20:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/first-destination-in-a-job-shop/m-p/13489333#M7167</guid>
      <dc:creator>jeff_nordgren</dc:creator>
      <dc:date>2020-06-19T17:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: first destination in a job shop</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/first-destination-in-a-job-shop/m-p/13489334#M7168</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Sorry but this model is the one that I attached, but with another name. There must be a mistake&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 20 Jun 2020 09:00:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/first-destination-in-a-job-shop/m-p/13489334#M7168</guid>
      <dc:creator>oscar_manuel_cmn</dc:creator>
      <dc:date>2020-06-20T09:00:54Z</dc:date>
    </item>
  </channel>
</rss>

