<?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>adding a small condition Grid column label parameter?</title><link>https://community.appian.com/discussions/f/general/38676/adding-a-small-condition-grid-column-label-parameter</link><description>adding if condition in the label parameter of grid column, if local!docids are not available then column should be blank and otherwise Uploaded documents. 
 Can you please help on this. 
 Thanks for your thoughts on this.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: adding a small condition Grid column label parameter?</title><link>https://community.appian.com/thread/146190?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 06:11:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:32b26d6b-dcd5-45b1-9d31-21852fde0e46</guid><dc:creator>srikanth</dc:creator><description>&lt;p&gt;Thank you so much stefan, this post helped me to resolve the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding a small condition Grid column label parameter?</title><link>https://community.appian.com/thread/146187?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 05:17:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ddff6c3d-c509-4319-9301-f49e64f27257</guid><dc:creator>Vyshnavi Naripeddi</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/srikantha0002"&gt;srikanth&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;In addition to the previous answers, another possible solution is:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1741756677380v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding a small condition Grid column label parameter?</title><link>https://community.appian.com/thread/146184?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 18:59:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e1f8365a-f7ac-4730-a9f9-da6bc06bb50b</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;More on null checking in my blog post:&amp;nbsp;&lt;a href="https://appian.rocks/2022/10/17/the-magic-of-null-checking/"&gt;appian.rocks/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding a small condition Grid column label parameter?</title><link>https://community.appian.com/thread/146182?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 18:34:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:76ee9e69-5196-4d97-8c59-c2c049bf03ac</guid><dc:creator>osanchea</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi. To complement&amp;nbsp;&amp;nbsp; suggestion, if there&amp;#39;s a case where the variable &amp;quot;local!docsIds&amp;quot; is not a list, the length() function will return an error. To solve it, use the following code:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;  if(
    or(
      a!isNullOrEmpty(local!docs),
      length(local!docs) = 0
    ),
    &amp;quot;&amp;quot;,
    &amp;quot;Uploaded Documents&amp;quot;
  )&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding a small condition Grid column label parameter?</title><link>https://community.appian.com/thread/146180?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 18:14:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1945e52-c1e3-4b8f-994f-cb13d2d488a6</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/srikantha0002"&gt;srikanth&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a known behavior of &lt;strong&gt;is null or empty&lt;/strong&gt; function it will gives false for empty array .We have many approaches for example try using&lt;strong&gt; length function&lt;/strong&gt; like&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;if(length({array})&amp;lt;=0,&amp;quot;&amp;quot;,&amp;quot;Upload documents&amp;quot;)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1741716864811v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>