<?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: Custom agv state be coverd when it's allocated in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13643616#M96296</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17286793"&gt;@moehlmann_fe&lt;/a&gt;&amp;nbsp; I used objectflow to update the state when the AGVs are in "travel to load" mode by reading the "forcedState" label on the AGV. However, the model gets stuck when the AGV's 'forcedState' changes in the processflow and the objectflow is still running.&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s1125413_0-1747884557157.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1536046i759A5E2491B9EF98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="s1125413_0-1747884557157.png" alt="s1125413_0-1747884557157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File：&lt;/P&gt;</description>
    <pubDate>Thu, 22 May 2025 03:35:55 GMT</pubDate>
    <dc:creator>s1125413</dc:creator>
    <dc:date>2025-05-22T03:35:55Z</dc:date>
    <item>
      <title>Custom agv state be coverd when it's allocated</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13604953#M95796</link>
      <description>&lt;P class=""&gt;Hello FlexSim community!&lt;/P&gt;&lt;P class=""&gt;I'm trying to implement a behavior where, once an AGV accepts a task, its state changes to "Travel_to_load" and remains in that state until the task is completed. However, it seems that, similar to a previous post, the state is overwritten after the allocation of the first point on the path.&lt;/P&gt;&lt;P class=""&gt;&lt;A href="https://forums.autodesk.com/t5/flexsim-forum/agv-custom-state/m-p/13492592" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/flexsim-forum/agv-custom-state/m-p/13492592&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I tried to enforce the state using code in the Process Flow, but the AGV cannot revert back to "TravelEmpty" afterward.Thank you in advance for any advice or alternative methods to achieve this!&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s1125413_1-1746000513195.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1528867iA61F0FE0581442E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="s1125413_1-1746000513195.png" alt="s1125413_1-1746000513195.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;File：&lt;A href="https://drive.google.com/file/d/1K43dbDOrPvtM8y_uRf0fwV8ug8HDsq3T/view?usp=drive_link" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1K43dbDOrPvtM8y_uRf0fwV8ug8HDsq3T/view?usp=drive_link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 08:08:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13604953#M95796</guid>
      <dc:creator>s1125413</dc:creator>
      <dc:date>2025-04-30T08:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom agv state be coverd when it's allocated</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13624740#M96045</link>
      <description>&lt;P&gt;Resetting the 'forcedState' before the token hits the Finish TS activity should lead to the AGV assuming the default state afterwards.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 06:35:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13624740#M96045</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-05-12T06:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom agv state be coverd when it's allocated</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13643616#M96296</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17286793"&gt;@moehlmann_fe&lt;/a&gt;&amp;nbsp; I used objectflow to update the state when the AGVs are in "travel to load" mode by reading the "forcedState" label on the AGV. However, the model gets stuck when the AGV's 'forcedState' changes in the processflow and the objectflow is still running.&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="s1125413_0-1747884557157.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1536046i759A5E2491B9EF98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="s1125413_0-1747884557157.png" alt="s1125413_0-1747884557157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File：&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 03:35:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13643616#M96296</guid>
      <dc:creator>s1125413</dc:creator>
      <dc:date>2025-05-22T03:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom agv state be coverd when it's allocated</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13643796#M96299</link>
      <description>&lt;P&gt;The sub flow is an infinite loop if the label is set to 1. In general, using a "clock" to do a check if some condition is true is never good design in FlexSim.&lt;/P&gt;&lt;P&gt;The "forcedState" label does not change without you doing so. So you can just set/reset the state at the same time. Either in a Custom Code activity or even inside the label assignment code.&lt;/P&gt;&lt;P&gt;If you need a central control logic that reacts to label changes, you can use Tracked Variable labels that allow you to listen for changes of the label.&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 06:17:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13643796#M96299</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-05-22T06:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom agv state be coverd when it's allocated</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13652812#M96371</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17286793"&gt;@moehlmann_fe&lt;/a&gt;Thank for your advise, I using custom code to update the state and it's useful, but when the Idle agv preempt twice, the token can't read the agv info.&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 12:19:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13652812#M96371</guid>
      <dc:creator>s1125413</dc:creator>
      <dc:date>2025-05-28T12:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom agv state be coverd when it's allocated</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13660799#M96431</link>
      <description>&lt;P&gt;The "Push to AGV" activity in the idle flow should not overwrite the "agv" label with the puller. Sorry for that oversight.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moehlmann_fe_0-1748850016535.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1539273i861219418E36B4D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moehlmann_fe_0-1748850016535.png" alt="moehlmann_fe_0-1748850016535.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 07:40:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/custom-agv-state-be-coverd-when-it-s-allocated/m-p/13660799#M96431</guid>
      <dc:creator>moehlmann_fe</dc:creator>
      <dc:date>2025-06-02T07:40:31Z</dc:date>
    </item>
  </channel>
</rss>

