<?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>Use of { &amp;amp; } to delimit functions in an object</title><link>https://community.appian.com/discussions/f/user-interface/29139/use-of-to-delimit-functions-in-an-object</link><description>I&amp;#39;m in a discussion with a colleague on whether its legal to use {} to delimit nested variables in an if statement. 
 I.e.: 
 if( { this 
 and(or( isnull(local!shortRecon.recordsRequested), isnull(local!shortRecon.reconsiderationRequested) ), local!claim</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Use of { &amp; } to delimit functions in an object</title><link>https://community.appian.com/thread/115151?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2023 15:04:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0c96fcff-4b46-4f76-82b9-f87678585556</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="250128" url="~/discussions/f/user-interface/29139/use-of-to-delimit-functions-in-an-object/115150#115150"]Mea culpa ![/quote]
&lt;p&gt;No need for apologies &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&amp;nbsp; We merely want to coax out of you what you&amp;#39;re&amp;nbsp;&lt;em&gt;actually&lt;/em&gt; intending to do, hopefully to provide clarification as far as creating Appian code that&amp;#39;s more graceful and/or efficient.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use of { &amp; } to delimit functions in an object</title><link>https://community.appian.com/thread/115150?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2023 15:02:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6141e19f-3bcd-44c5-acc7-96f2c750c326</guid><dc:creator>michaelk1933</dc:creator><description>&lt;p&gt;Mea culpa !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use of { &amp; } to delimit functions in an object</title><link>https://community.appian.com/thread/115149?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2023 15:02:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:15ceef57-4209-47ae-8aee-f260aed1e121</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I&amp;#39;m not even sure what you mean by &amp;quot;nested variables&amp;quot; in the context of the code sample you&amp;#39;ve posted here.&amp;nbsp; Any chance you could post a cleaner example, with indentation, and in a Code Box where it&amp;#39;ll maintain some amount of readability?&amp;nbsp; If any of the wording (&amp;quot;and this&amp;quot; etc) is meant as annotative, then put it in /* comment blocks */ for clarity.&lt;/p&gt;
&lt;p&gt;I will say, up front, that you can nest and() and or() conditional logic to almost any level (limited only by a viewer&amp;#39;s ability to make sense of whatever spaghetti code we end up creating), which never requires &amp;quot;{}&amp;quot; - since as Stefan correctly noted, these &lt;em&gt;&lt;strong&gt;specifically&lt;/strong&gt;&lt;/em&gt;&lt;strong&gt;&lt;/strong&gt; incidate arrays to Appian.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use of { &amp; } to delimit functions in an object</title><link>https://community.appian.com/thread/115147?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2023 14:58:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:27dbda82-d775-4593-b710-77cb335724b8</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;As curly brackets indicate a list in Appian, I would not do that. There are some ugly edge cases, almost impossible to debug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>