<?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: How to selectively Pull from from using Label Array? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586522#M83386</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;You can create assign a label called NameArray and in values select Array and Set Array. In that portion added the following as code.&lt;/P&gt;
 &lt;PRE&gt;Array values = Array(arraySize);

for(int i=1; i&amp;lt;=arraySize;i++){
values&lt;I&gt; = token.requestpull&lt;I&gt;.PartName;
}


return values;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 03 May 2024 18:11:03 GMT</pubDate>
    <dc:creator>jkhedekar</dc:creator>
    <dc:date>2024-05-03T18:11:03Z</dc:date>
    <item>
      <title>How to selectively Pull from from using Label Array?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586518#M83382</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.15 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;I have 2 lists. One which keeps track of parts it has created. It has a label column called PartName.&lt;/P&gt;
 &lt;P&gt;Second list is parts requested by operator which also has a label column PartName. &lt;/P&gt;
 &lt;P&gt;When the a value it pushed in second list as a request by operator it triggers the flow.&lt;/P&gt;
 &lt;P&gt;The flow starts with a pull request from first list which pulls one value and Assign to token.requestpull&lt;/P&gt;
 &lt;P&gt;The flow moves to a batching step where I batch 3 token with a max wait time of 60 sec. I also track how many were batched before getting released&lt;/P&gt;
 &lt;P&gt;In batching process flow for label aggregation I have &lt;/P&gt;
 &lt;P&gt;From Label - requestpull.Partname&lt;/P&gt;
 &lt;P&gt;To Label - requestpull&lt;/P&gt;
 &lt;P&gt;Aggregation - Make Array&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Then I want to pull from first list. The request quantity of pull from first list is the number of token I have batched which is store in label batchCount (this works right) I have puller token for second list as pullerrequest&lt;/P&gt;
 &lt;P&gt;For query I only want to select parts which are requested by operators so&lt;/P&gt;
 &lt;PRE&gt;WHERE PartName IN pullerrequest.requestpull&lt;/PRE&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;This however does not work and shows sql query mistake. Where am I making a mistake?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 May 2024 18:06:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586518#M83382</guid>
      <dc:creator>jkhedekar</dc:creator>
      <dc:date>2024-05-01T18:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to selectively Pull from from using Label Array?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586519#M83383</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Try IN clause argument with brackets.&lt;/P&gt;&lt;P&gt;pullerrequest.requestpull datatype must be an array. Elements of this array must match with PartName. Print arguments into an output console for testing.&lt;/P&gt;&lt;P&gt;look for examples in &lt;A id="isPasted" href="https://www.w3schools.com/sql/sql_in.asp&amp;lt;/a&amp;gt;"&gt;&lt;/A&gt;&lt;A href="https://www.w3schools.com/sql/sql_in.asp"&gt;https://www.w3schools.com/sql/sql_in.asp&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 May 2024 22:37:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586519#M83383</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2024-05-01T22:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to selectively Pull from from using Label Array?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586520#M83384</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Got a work around but it works now. Thanks!
&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 May 2024 00:27:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586520#M83384</guid>
      <dc:creator>jkhedekar</dc:creator>
      <dc:date>2024-05-02T00:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to selectively Pull from from using Label Array?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586521#M83385</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Can you share your solution and accept it?&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 May 2024 17:04:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586521#M83385</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2024-05-03T17:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to selectively Pull from from using Label Array?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586522#M83386</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;You can create assign a label called NameArray and in values select Array and Set Array. In that portion added the following as code.&lt;/P&gt;
 &lt;PRE&gt;Array values = Array(arraySize);

for(int i=1; i&amp;lt;=arraySize;i++){
values&lt;I&gt; = token.requestpull&lt;I&gt;.PartName;
}


return values;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 May 2024 18:11:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586522#M83386</guid>
      <dc:creator>jkhedekar</dc:creator>
      <dc:date>2024-05-03T18:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to selectively Pull from from using Label Array?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586523#M83387</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 I don't think I can accept my own answer, I did it though
&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 May 2024 18:11:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-selectively-pull-from-from-using-label-array/m-p/13586523#M83387</guid>
      <dc:creator>jkhedekar</dc:creator>
      <dc:date>2024-05-03T18:11:56Z</dc:date>
    </item>
  </channel>
</rss>

