<?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: set color  by case on entry trigger in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553193#M57363</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/3623/alejandra.n.html" nodeid="3623"&gt;@Ale&lt;/A&gt; the difference:&lt;/P&gt;&lt;P&gt;1. token.item.Color - this reads the label from the token label - item - color (process flow)&lt;/P&gt;&lt;P&gt;2. token.Color - this reads the label from the token (process flow)&lt;/P&gt;&lt;P&gt;3. item.Color - this reads the label from the item (3D)&lt;/P&gt;&lt;P&gt;To check, run and stop the model after a few activities. Then click on an object in 3D and check in the quick properties what labels are on the item. If there isn't a label called Color then you must add it. The same can be done in process flow. Click on a token in 2D and check the quick properties for labels associated with that token. &lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2017 14:58:29 GMT</pubDate>
    <dc:creator>kari_payton</dc:creator>
    <dc:date>2017-09-13T14:58:29Z</dc:date>
    <item>
      <title>set color  by case on entry trigger</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553185#M57355</link>
      <description>&lt;P&gt;I created a label named "Color" in a source that goes from 1 to 8. I would like to set up a trigger that when it enters queue2 it changes per the define label "Color" &lt;A id="8568" href="https://answers.flexsim.com/storage/attachments/8568-1.jpg"&gt;1.jpg&lt;/A&gt; . The flow items are still not changing color see attached model &lt;A rel="nofollow" href="https://answers.flexsim.com/storage/attachments/8569-color.fsm"&gt;color.fsm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 19:43:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553185#M57355</guid>
      <dc:creator>alejandra_n2</dc:creator>
      <dc:date>2017-09-12T19:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: set color  by case on entry trigger</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553186#M57356</link>
      <description>&lt;A rel="user" href="https://answers.flexsim.com/users/3623/alejandra.n.html" nodeid="3623"&gt;@Ale&lt;/A&gt;&lt;P&gt;First you need to create the "Type" label on your item. In the process flow I added the label "Type" in create object with a value of duniform(1,8).&lt;/P&gt;&lt;P&gt;Then for each case, input Color.colorname. For example Color.red for red.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="8571-screenshot-1.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1495994i40CDF050968C42BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="8571-screenshot-1.png" alt="8571-screenshot-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 20:13:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553186#M57356</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2017-09-12T20:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: set color  by case on entry trigger</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553187#M57357</link>
      <description>&lt;P&gt;Have you tried the Standard Template - Set Color by Case?&lt;/P&gt;&lt;P&gt;Value field: item.Color&lt;/P&gt;&lt;P&gt;then the standard works.&lt;/P&gt;&lt;P&gt;Color.aqua is enough.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="8595-color-by-label-color.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1495995i87EA997C04CD9AED/image-size/large?v=v2&amp;amp;px=999" role="button" title="8595-color-by-label-color.jpg" alt="8595-color-by-label-color.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A id="8596" href="https://answers.flexsim.com/storage/attachments/8596-color-by-label-color.fsm"&gt;color-by-label-color.fsm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 20:24:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553187#M57357</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2017-09-12T20:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: set color  by case on entry trigger</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553188#M57358</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/730/kari.p.html" nodeid="730"&gt;@Kari Payton&lt;/A&gt; Thanks for the input. I did what you suggested but it gives me random quantities of the colors I set up &lt;A id="8573" href="https://answers.flexsim.com/storage/temp/8573-1.jpg"&gt;1.jpg&lt;/A&gt;. I want the colors quantities to be determine by the label Color in the source. &lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 21:02:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553188#M57358</guid>
      <dc:creator>alejandra_n2</dc:creator>
      <dc:date>2017-09-12T21:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: set color  by case on entry trigger</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553189#M57359</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/461/joerg.v.html" nodeid="461"&gt;@Jörg Vogel&lt;/A&gt; I did but the flow items are not changing color on enter. and its giving me an error &lt;A id="8575" href="https://answers.flexsim.com/storage/temp/8575-1.jpg"&gt;1.jpg&lt;/A&gt;, &lt;A id="8576" href="https://answers.flexsim.com/storage/temp/8576-2.jpg"&gt;2.jpg&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 21:06:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553189#M57359</guid>
      <dc:creator>alejandra_n2</dc:creator>
      <dc:date>2017-09-12T21:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: set color  by case on entry trigger</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553190#M57360</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/3623/alejandra.n.html" nodeid="3623"&gt;@Ale&lt;/A&gt; &lt;/P&gt;&lt;P&gt;In this case, I would change the color using process flow. After the unload, add a custom code to change the visual based on the color value and delete the trigger on queue2. &lt;A id="8582" href="https://answers.flexsim.com/storage/temp/8582-8574-color.fsm"&gt;8574-color.fsm&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;Color.byNumber(token.Color)&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Sep 2017 22:06:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553190#M57360</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2017-09-12T22:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: set color  by case on entry trigger</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553191#M57361</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/3623/alejandra.n.html" nodeid="3623"&gt;@Ale, &lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hadn't any problem. I set the label named "Color" on creation and on exit I choose the standard picklist option "set color by case". I changed the value parameter to item.Color and then everything went well.&lt;BR /&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/3623/alejandra.n.html" nodeid="3623"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 11:46:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553191#M57361</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2017-09-13T11:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: set color  by case on entry trigger</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553192#M57362</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/730/kari.p.html" nodeid="730"&gt;@Kari Payton&lt;/A&gt; or &lt;A rel="user" href="https://answers.flexsim.com/users/461/joerg.v.html" nodeid="461"&gt;@Jörg Vogel&lt;/A&gt; I need a quick clarification on this if I use a custom code, set color by case so I can define the colors that I want .What is the correct query to use? I tried to use the query token.item.Color on the value field but I'm getting an error.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="8600-x5tkt.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1495997i14BC8EC9A01DC09F/image-size/large?v=v2&amp;amp;px=999" role="button" title="8600-x5tkt.png" alt="8600-x5tkt.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 13:59:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553192#M57362</guid>
      <dc:creator>alejandra_n2</dc:creator>
      <dc:date>2017-09-13T13:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: set color  by case on entry trigger</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553193#M57363</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/3623/alejandra.n.html" nodeid="3623"&gt;@Ale&lt;/A&gt; the difference:&lt;/P&gt;&lt;P&gt;1. token.item.Color - this reads the label from the token label - item - color (process flow)&lt;/P&gt;&lt;P&gt;2. token.Color - this reads the label from the token (process flow)&lt;/P&gt;&lt;P&gt;3. item.Color - this reads the label from the item (3D)&lt;/P&gt;&lt;P&gt;To check, run and stop the model after a few activities. Then click on an object in 3D and check in the quick properties what labels are on the item. If there isn't a label called Color then you must add it. The same can be done in process flow. Click on a token in 2D and check the quick properties for labels associated with that token. &lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:58:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553193#M57363</guid>
      <dc:creator>kari_payton</dc:creator>
      <dc:date>2017-09-13T14:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: set color  by case on entry trigger</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553194#M57364</link>
      <description>&lt;P&gt;Got it Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:02:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/set-color-by-case-on-entry-trigger/m-p/13553194#M57364</guid>
      <dc:creator>alejandra_n2</dc:creator>
      <dc:date>2017-09-13T15:02:35Z</dc:date>
    </item>
  </channel>
</rss>

