<?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>New line</title><link>https://community.appian.com/discussions/f/rules/25074/new-line</link><description>HI 
 
 here i have used &amp;lt;br&amp;gt; tag for new line now the issue is whether the values is present in limitamout or not it&amp;#39;s going to new line/ breaking the line 
 this is how the output looks like 
 but whenever the data is empty then it shouldn&amp;#39;t break the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: New line</title><link>https://community.appian.com/thread/97194?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 12:47:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a5cf4f60-1d59-4ca0-968c-08bc4fe2e8c4</guid><dc:creator>KM</dc:creator><description>&lt;p&gt;can you please let me know how can i write it in loop function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New line</title><link>https://community.appian.com/thread/97184?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 11:11:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f49f55b5-c9e2-4f3a-b8e9-b3245b35d452</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;It does look like you have a lot of repetition in your expression. Could you not call a rule in an a!forEach() - once for each data item - and use that rule to determine whether a &amp;lt;br&amp;gt;&amp;lt;/br&amp;gt; is required or not?&lt;/p&gt;
&lt;p&gt;Also you seem to have many calls to a rule which looks like a Query Entity (given the name of the rule). This would be better if you called the Query Entity once for all of the items in one call, and then you can loop on the resultant data, determining if a&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt; is required or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New line</title><link>https://community.appian.com/thread/97181?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 11:00:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:78437f5e-55c4-4e8a-91de-b1d80df996a4</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I would recommend to use the concat function. But using &amp;amp; does not make a difference. Can your explain the issue?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp; if(condition, &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;, &amp;quot;&amp;quot;) &amp;amp;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New line</title><link>https://community.appian.com/thread/97178?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 10:55:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:63c755e6-8513-4797-9cb8-5992527afa93</guid><dc:creator>KM</dc:creator><description>&lt;p&gt;yeah, i have tried that but am using &amp;amp; to concat which is causing issue againg&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New line</title><link>https://community.appian.com/thread/97177?ContentTypeID=1</link><pubDate>Mon, 04 Jul 2022 10:51:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:982615f3-2270-427b-95a4-a031c4453d20</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You will need to wrap the &amp;lt;br&amp;gt; tags into an if() condition, checking whether to line-break or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>