<?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 Can I put &amp;quot;ORDER BY ASC&amp;quot; or &amp;quot;ORDER BY DESC&amp;quot; conditional? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/can-i-put-quot-order-by-asc-quot-or-quot-order-by-desc-quot/m-p/13505552#M19705</link>
    <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 In my application i want to make the order ascending or descending based on the condition at the pull. is it possible to do than in the Pull From List activity?
&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 Apr 2021 16:43:04 GMT</pubDate>
    <dc:creator>pinakin_k</dc:creator>
    <dc:date>2021-04-09T16:43:04Z</dc:date>
    <item>
      <title>Can I put "ORDER BY ASC" or "ORDER BY DESC" conditional?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/can-i-put-quot-order-by-asc-quot-or-quot-order-by-desc-quot/m-p/13505552#M19705</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 20.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 In my application i want to make the order ascending or descending based on the condition at the pull. is it possible to do than in the Pull From List activity?
&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Apr 2021 16:43:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/can-i-put-quot-order-by-asc-quot-or-quot-order-by-desc-quot/m-p/13505552#M19705</guid>
      <dc:creator>pinakin_k</dc:creator>
      <dc:date>2021-04-09T16:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can I put "ORDER BY ASC" or "ORDER BY DESC" conditional?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/can-i-put-quot-order-by-asc-quot-or-quot-order-by-desc-quot/m-p/13505553#M19706</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;perhaps you can do it in a previously activity and parse it as $ parameter into a query by a label.&lt;/P&gt;&lt;P&gt; Or you concatenate a string to parse in a query for a custom code.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Apr 2021 21:49:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/can-i-put-quot-order-by-asc-quot-or-quot-order-by-desc-quot/m-p/13505553#M19706</guid>
      <dc:creator>joerg_vogel_HsH</dc:creator>
      <dc:date>2021-04-09T21:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can I put "ORDER BY ASC" or "ORDER BY DESC" conditional?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/can-i-put-quot-order-by-asc-quot-or-quot-order-by-desc-quot/m-p/13505554#M19707</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;I've done this using a decide activity sending a token to one of two pulls - one that does ASC, the other DESC - which is simple.&lt;/P&gt;&lt;P&gt;If you want it in a single pull activity you could ORDER BY myexpression ASC and have myexpression as an additional field on the list that is some value multiplied by a pullers label value (eg. ascmultiplier)  which changes between 1 and -1 depending on whether you want ASC or DESC.&lt;/P&gt;&lt;P&gt;So the expression could be something like this:&lt;/P&gt;&lt;PRE&gt;value.sortcriterion*puller.ascmultiplier&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Apr 2021 22:34:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/can-i-put-quot-order-by-asc-quot-or-quot-order-by-desc-quot/m-p/13505554#M19707</guid>
      <dc:creator>jason_lightfoot_adsk</dc:creator>
      <dc:date>2021-04-09T22:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can I put "ORDER BY ASC" or "ORDER BY DESC" conditional?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/can-i-put-quot-order-by-asc-quot-or-quot-order-by-desc-quot/m-p/13505555#M19708</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/4687/pinakin.k.html" nodeid="4687"&gt;@Pinakin K&lt;/A&gt;, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;&lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Apr 2021 02:03:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/can-i-put-quot-order-by-asc-quot-or-quot-order-by-desc-quot/m-p/13505555#M19708</guid>
      <dc:creator>Ben_WilsonADSK</dc:creator>
      <dc:date>2021-04-15T02:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can I put "ORDER BY ASC" or "ORDER BY DESC" conditional?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/can-i-put-quot-order-by-asc-quot-or-quot-order-by-desc-quot/m-p/13505556#M19709</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;&lt;/P&gt;
 &lt;P&gt;Thanks! &lt;/P&gt;
 &lt;P&gt;I just returned the Query string in the pull Query as ASC or DSC depending on the condition. It also works. &lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Apr 2021 21:26:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/can-i-put-quot-order-by-asc-quot-or-quot-order-by-desc-quot/m-p/13505556#M19709</guid>
      <dc:creator>pinakin_k</dc:creator>
      <dc:date>2021-04-26T21:26:38Z</dc:date>
    </item>
  </channel>
</rss>

