<?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>a!localVariables() which statement is true</title><link>https://community.appian.com/discussions/f/general/29201/a-localvariables-which-statement-is-true</link><description>a!localVariables() can be evaluated as empty 
 a!localVariables() can increase the number of queries that are executed</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: a!localVariables() which statement is true</title><link>https://community.appian.com/thread/115509?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2023 04:51:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:61fb1d75-c822-4ab4-a6f1-ecbbd6424fc3</guid><dc:creator>Sudhir Singh</dc:creator><description>&lt;p&gt;false&lt;/p&gt;
&lt;p&gt;false&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!localVariables() which statement is true</title><link>https://community.appian.com/thread/115504?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 23:58:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:37c84ee4-c84d-424c-8f1e-8bca3b50ae84</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Is this an exam question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!localVariables() which statement is true</title><link>https://community.appian.com/thread/115493?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 20:38:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bfbdd180-efe2-4762-a699-b2994586763e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;What are you trying to find out exaclty?&lt;/p&gt;
&lt;p&gt;Both are potentially true depending on the context.&amp;nbsp; The a!localVariables() call can be evaluated as empty (i.e. not actually containing any variables) if needed, though there&amp;#39;s almost never any benefit to doing that, other than when you put it in as a placeholder when first starting a rule/form (like when you know some variables WILL need to be added, you just don&amp;#39;t know WHAT at first).&amp;nbsp; And having local variables CAN increase the number of queries executed if structured poorly, or if extra variables are created that don&amp;#39;t end up being needed - but the NORMAL use case is that having variables will DECREASE queries executed, since it reduces instances where the same logic needs to be run over and over again, for instance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>