<?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>Code</title><link>https://community.appian.com/discussions/f/general/24103/code</link><description>Hi All, 
 I want to write the logic for the below requirement 
 For example: 
 ------------------ 
 My Input is 1 
 Output should be : {2,3,4,5} 
 
 can anyone share the logic 
 
 Thanks in Advance!</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Code</title><link>https://community.appian.com/thread/92980?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 16:09:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52b79f5b-d05b-4658-afc4-3af53b8b2557</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="25594" url="~/discussions/f/general/24103/code/92893#92893"]While you post any query can you please try to be more specific with the use case [/quote]
&lt;p&gt;and also... &lt;em&gt;&lt;strong&gt;please, please, please&lt;/strong&gt;&lt;/em&gt;... no more one-word post titles (!!!)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code</title><link>https://community.appian.com/thread/92893?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 05:14:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:046276d6-b065-4174-9dc3-e8f2f0af3cee</guid><dc:creator>viratyogi</dc:creator><description>&lt;p&gt;&lt;a href="/members/vinothkannar"&gt;vinothkannar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;While you post any query can you please try to be more specific with the use case so that it will be easy for other Appian users to provide better solutions catering to query more profoundly?&lt;/p&gt;
&lt;p&gt;just trying to keep the community clean.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code</title><link>https://community.appian.com/thread/92887?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2022 03:24:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fb0d91e7-9ab3-40c1-83b5-1e5f13d6ba57</guid><dc:creator>ajhick</dc:creator><description>&lt;p&gt;As has already been said, we need may more info. If you need the proceeding X number of integers after the input number the below will work. But this is really just a stab in the dark.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!inputNumber: 5,
  local!numberOfSubsequentIntegersToReturn: 4,
  1 + local!inputNumber + enumerate(local!numberOfSubsequentNumbersToReturn)
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code</title><link>https://community.appian.com/thread/92876?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 19:08:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:391cf754-a67a-4ffe-ba61-0172bea4b614</guid><dc:creator>Prin18</dc:creator><description>&lt;p&gt;a!foreach(&lt;br /&gt; items:{1},&lt;br /&gt; expression:fv!item+1+enumerate(4)&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code</title><link>https://community.appian.com/thread/92868?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 16:20:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d5a137f3-fa5e-4fc5-b230-53bee78b8477</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;What is the actual logic behind this request?&amp;nbsp;&amp;nbsp; You didn&amp;#39;t explain how your output (&amp;quot;{2, 3, 4, 5}&amp;quot;) actually relates to the input of &amp;quot;1&amp;quot;.&amp;nbsp; I could write an expression rule hardcoded to output {2, 3, 4, 5} no matter what input value was given, and claim it satisfies this based on the information provided here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code</title><link>https://community.appian.com/thread/92867?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 16:18:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:641f7a6d-803a-4d1e-a360-b8e7a29bea3a</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What is the purpose? Is this a test? Did you try enumerate()?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>