<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>While Do loop</title><link>https://community.appian.com/discussions/f/user-interface/18772/while-do-loop</link><description>Hello! 
 Does exist While...Do loop exist in Appian 16.1? If no, is something that replace that? 
 I am trying to do multiple save on a CDT but applyComponents seems not very practical. 
 Any idea how can I improve the applyComponents function or any</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: While Do loop</title><link>https://community.appian.com/thread/73858?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 13:36:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1188539a-6820-404b-8d5e-de9b8d8a8400</guid><dc:creator>Kiara Shakaj</dc:creator><description>&lt;p&gt;Thank you for getting time to explain to the details. And thank you for your honesty. It seems that the upgrade is the only solution.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: While Do loop</title><link>https://community.appian.com/thread/73855?ContentTypeID=1</link><pubDate>Wed, 06 May 2020 13:24:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:124866d5-1121-4230-a804-b3b4c215a39a</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;You&amp;#39;ll also have the potential for Appian support. Appian no longer even officially supports 18.1.&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll be able to hire new developers who haven&amp;#39;t been working with Appian for many years.&amp;nbsp; There&amp;#39;s practically no one left who won&amp;#39;t cost a fortune who remembers how to make apply() and applyComponents() work with partial evaluation.&amp;nbsp; &amp;nbsp;I know how because I&amp;#39;ve been doing Appian for almost 5 years.&amp;nbsp; If you have budget for someone who has been doing Appian for only one year, they won&amp;#39;t understand your application.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if words can fully express the costs of going so long without an upgrade, the benefits of extra features added in that time, and how slight the risks of upgrade are in comparison to the risks of going too long without upgrading.&lt;/p&gt;
&lt;p&gt;And in answer to your actual question, I think you have done amazing work with the applyComponents() you wrote.&amp;nbsp; That&amp;#39;s about the most efficient, elegant work I&amp;#39;ve ever seen.&amp;nbsp; If that&amp;#39;s not good enough, and you want an improvement over THAT, you&amp;#39;re not going to get it without upgrading.&amp;nbsp; Fine craftsmanship, my friend.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: While Do loop</title><link>https://community.appian.com/thread/73838?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 15:36:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0224358e-6a40-4ecc-b5bf-e50f5d84aa53</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;a!forEach() is much better and was introduced (iirc) in 17.2 -- if at all possible you should upgrade.&amp;nbsp; I would consider being stuck with 16.1 as essentially torture for a dev at this point; is there a particular reason you still have to use 16.1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: While Do loop</title><link>https://community.appian.com/thread/73835?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 14:59:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:241dad21-53f3-4985-a5c0-bc184770b53f</guid><dc:creator>Robert Shankin</dc:creator><description>&lt;p&gt;I understand that this is doesn&amp;#39;t answer the question you asked, but...&lt;br /&gt;Have you discussed a platform upgrade with your stakeholders? &lt;br /&gt;16.1 is 4 years and ~16 releases behind GA.&lt;br /&gt;That release should work fine, but practitioners are typically focused on taking advantage of the functionality in the last 2-3 release, at most.&amp;nbsp; You might get an answer, but I suspect many will wonder why you&amp;#39;re so far behind.&lt;/p&gt;
&lt;p&gt;Since 16.1 there has been a lot improvement to the product; designer features, search, UI enhancements, expression evaluation, loops (as you said), and integrations.&amp;nbsp; Too many to mention.&lt;br /&gt;It may be work to coordinate this upgrade.&amp;nbsp; But that won&amp;#39;t likely be reduced by waiting longer.&amp;nbsp; The benefits are worth the&amp;nbsp;effort.... and you&amp;#39;ll have loops.&amp;nbsp;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f609.svg" title="Wink"&gt;&amp;#x1f609;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: While Do loop</title><link>https://community.appian.com/thread/73834?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 14:57:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2fc03216-ea61-43ac-b302-c460e8fc6527</guid><dc:creator>Kiara Shakaj</dc:creator><description>&lt;p&gt;I know but doesn&amp;#39;t exist on old version of Appian. In 16.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: While Do loop</title><link>https://community.appian.com/thread/73833?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 14:51:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:770ad029-b323-4df0-b7d3-8f34e69832f9</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;You really would be better off using the new a!forEach():&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/20.1/fnc_looping_a_foreach.html"&gt;https://docs.appian.com/suite/help/20.1/fnc_looping_a_foreach.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>