<?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>Resolving Null variables</title><link>https://community.appian.com/discussions/f/user-interface/23981/resolving-null-variables</link><description>In our system a user can enter up to 3 studies but only one is required. My current work around is saving any studies not entered to &amp;quot;N/A&amp;quot; if( isnull(ri!svcRequest.study_two), { a!save(ri!svcRequest.study_two, &amp;quot;N/A&amp;quot;) }, {} ), if( isnull(ri!svcRequest</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Resolving Null variables</title><link>https://community.appian.com/thread/92349?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2022 05:32:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9364d728-24fd-403d-85e5-30846949c28e</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;When you&amp;#39;re finally constructing this sentence for your email, use this code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;substitute(ri!variable, &amp;quot;N/A&amp;quot;,&amp;quot;&amp;quot;)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This will remove the &amp;quot;N/A&amp;quot; from your code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resolving Null variables</title><link>https://community.appian.com/thread/92338?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 17:21:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:936aa6a4-7a26-47c0-be59-bce09db11d40</guid><dc:creator>oludareo0002</dc:creator><description>&lt;p&gt;Awesome, I did this in the email in stead of the form, thank you for this!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resolving Null variables</title><link>https://community.appian.com/thread/92336?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 17:02:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4f58b3a0-da45-4515-a6ee-253977b48b13</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You would just wrap each one of the subsequent entries in its own if() statement, it doesn&amp;#39;t really require nesting per se.&amp;nbsp; This would allow you to use either or both of &amp;quot;study_two&amp;quot; and &amp;quot;study_three&amp;quot;, and inherently requires &amp;quot;study_one&amp;quot; to be filled in.&lt;br /&gt;&lt;pre class="ui-code" data-mode="java"&gt;pv!svcRequest.study_one &amp;amp;
if(
  a!isNullOrEmpty(pv!svcRequest.study_two),
  null(),
  &amp;quot;, &amp;quot; &amp;amp; pv!svcRequest.study_two
) &amp;amp;
if(
  a!isNullOrEmpty(pv!svcRequest.study_three),
  null(),
  &amp;quot;, &amp;quot; &amp;amp; pv!svcRequest.study_three
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Resolving Null variables</title><link>https://community.appian.com/thread/92335?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 15:52:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fc90ca15-862b-4efd-92e1-a8e299168b50</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi, There could be multiple ways to implement what you are trying to do. I would suggest you to apply null check before concatenating these three variables. You can use nested If() .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>