<?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>Print number Patterns</title><link>https://community.appian.com/discussions/f/rules/21320/print-number-patterns</link><description>How can we show output as given below in appian using expression rule? 
 output: 
 1 
 22 
 333 
 4444 
 55555</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/141032?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 19:35:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:25866b29-57aa-4613-a264-a18df98c9989</guid><dc:creator>devendrad4614</dc:creator><description>&lt;p&gt;Thankyou&amp;nbsp;&lt;a href="/members/stefanhelzle0001"&gt;Stefan Helzle&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/141028?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 16:59:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fbd0de9b-850c-4c53-9628-25c221ec9c4e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Put your individual strings into a list on maps using foreach, then use the todatasubset() function to sort by that field.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/141027?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 16:55:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0b874fd8-ce27-4876-b2af-bf21283150f3</guid><dc:creator>devendrad4614</dc:creator><description>&lt;p&gt;Suppose we have array of of strings from A-Z which is randomly arranged so , how we can sort all the alphabet in ascending order?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/141024?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 15:03:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cf4c8a88-e1e8-4c08-8896-b377c55f77a4</guid><dc:creator>Stefan Helzle</dc:creator><description>[quote userid="290475" url="~/discussions/f/rules/21320/print-number-patterns/141017"]how to sort alphabets in appian ?&amp;nbsp;[/quote]
&lt;p&gt;What exactly are you asking for?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/141017?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 14:16:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:88a83dbd-464e-4c64-bc8e-f573672086b5</guid><dc:creator>devendrad4614</dc:creator><description>&lt;p&gt;how to sort alphabets in appian ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/102736?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 06:02:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fad64e18-6b8f-4584-85b6-16d5a69a0690</guid><dc:creator>dineshkrishna</dc:creator><description>&lt;p&gt;Thanks Harshit...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/102735?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 06:02:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:770e0827-8779-4d8f-856a-41cfeec6ced5</guid><dc:creator>dineshkrishna</dc:creator><description>&lt;p&gt;Thanks Ujjwal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/102733?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 05:45:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23362d14-8824-4ef3-9af5-5dda4b6d512d</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;The question is not relevant to this thread so I have answered your question on another thread here which seems to be more relevant -&amp;nbsp;&lt;a href="https://community.appian.com/discussions/f/general/14017/what-is-the-difference-initiator-and-loggedinuser"&gt;community.appian.com/.../what-is-the-difference-initiator-and-loggedinuser&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/102730?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 05:30:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0cfa6cea-e41c-41f9-b3ec-7feec5bba43b</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;The process initiator is the person who has started the process model and the process designer is the person who has last published the process model.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/20.4/process-model-object.html#actor-properties"&gt;https://docs.appian.com/suite/help/20.4/process-model-object.html#actor-properties&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/102728?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 05:09:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e251c3d4-c9d6-4a31-afe5-b559c16ccfa1</guid><dc:creator>dineshkrishna</dc:creator><description>&lt;p&gt;can anyone Explain for difference between Process initiator and Process designer&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/102655?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 11:28:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7573a0f1-eabf-4d27-ae50-09a0a8dc68a9</guid><dc:creator>dineshkrishna</dc:creator><description>&lt;p&gt;oh ok Abhishek...thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/102636?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 08:26:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c21889ed-07a4-4150-bdda-c7dd27495bf0</guid><dc:creator>Abhishek_Manjunath</dc:creator><description>&lt;p&gt;Those were the answers for the initial question:&lt;/p&gt;
&lt;p&gt;For star pyramid:&amp;lt;I have used 2 loops, although i believe it can be reduced to one&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!input: 5,
  local!rows: where(mod(enumerate(5) + 1, 2)),
  local!star: a!forEach(
    items: local!rows,
    expression: concat(repeat(fv!item, &amp;quot;*&amp;quot;))
  ),
  local!space: reverse(enumerate(length(local!star))),
  a!forEach(
    items: local!space,
    expression: concat(rept(&amp;quot;-&amp;quot;, fv!item), local!star[fv!index])
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/102633?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 07:51:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a47cda78-c4f1-44cf-a907-8cb4d8e19a64</guid><dc:creator>dineshkrishna</dc:creator><description>&lt;p&gt;Thanks for ur response Abhishek,&lt;/p&gt;
&lt;p&gt;but i&amp;#39;m getting o/p as&amp;nbsp;&lt;/p&gt;
&lt;ul class="SelectableTreeNode---nonComponentConfigParam"&gt;
&lt;li class="SelectableTreeNode---selectableTreeNode SelectableTreeNode---leaf SelectableTreeNode---open SelectableTreeNode---allow_text_highlighting"&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;(Text)&lt;/span&gt;&lt;/span&gt;
&lt;ul class="SelectableTreeNode---componentConfigParam"&gt;&lt;/ul&gt;
&lt;ul class="SelectableTreeNode---nonComponentConfigParam"&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="SelectableTreeNode---selectableTreeNode SelectableTreeNode---leaf SelectableTreeNode---open SelectableTreeNode---allow_text_highlighting"&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;22&amp;quot;&lt;/span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;(Text)&lt;/span&gt;&lt;/span&gt;
&lt;ul class="SelectableTreeNode---componentConfigParam"&gt;&lt;/ul&gt;
&lt;ul class="SelectableTreeNode---nonComponentConfigParam"&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="SelectableTreeNode---selectableTreeNode SelectableTreeNode---leaf SelectableTreeNode---open SelectableTreeNode---allow_text_highlighting"&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;333&amp;quot;&lt;/span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;(Text)&lt;/span&gt;&lt;/span&gt;
&lt;ul class="SelectableTreeNode---componentConfigParam"&gt;&lt;/ul&gt;
&lt;ul class="SelectableTreeNode---nonComponentConfigParam"&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="SelectableTreeNode---selectableTreeNode SelectableTreeNode---leaf SelectableTreeNode---open SelectableTreeNode---allow_text_highlighting"&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;4444&amp;quot;&lt;/span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;(Text)&lt;/span&gt;&lt;/span&gt;
&lt;ul class="SelectableTreeNode---componentConfigParam"&gt;&lt;/ul&gt;
&lt;ul class="SelectableTreeNode---nonComponentConfigParam"&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="SelectableTreeNode---selectableTreeNode SelectableTreeNode---leaf SelectableTreeNode---open SelectableTreeNode---allow_text_highlighting"&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;55555&amp;quot;&lt;/span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;(Text)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;&amp;amp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul class="SelectableTreeNode---nonComponentConfigParam"&gt;
&lt;li class="SelectableTreeNode---selectableTreeNode SelectableTreeNode---leaf SelectableTreeNode---open SelectableTreeNode---allow_text_highlighting"&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;A&amp;quot;&lt;/span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;(Text)&lt;/span&gt;&lt;/span&gt;
&lt;ul class="SelectableTreeNode---componentConfigParam"&gt;&lt;/ul&gt;
&lt;ul class="SelectableTreeNode---nonComponentConfigParam"&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="SelectableTreeNode---selectableTreeNode SelectableTreeNode---leaf SelectableTreeNode---open SelectableTreeNode---allow_text_highlighting"&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;BB&amp;quot;&lt;/span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;(Text)&lt;/span&gt;&lt;/span&gt;
&lt;ul class="SelectableTreeNode---componentConfigParam"&gt;&lt;/ul&gt;
&lt;ul class="SelectableTreeNode---nonComponentConfigParam"&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="SelectableTreeNode---selectableTreeNode SelectableTreeNode---leaf SelectableTreeNode---open SelectableTreeNode---allow_text_highlighting"&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;CCC&amp;quot;&lt;/span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;(Text)&lt;/span&gt;&lt;/span&gt;
&lt;ul class="SelectableTreeNode---componentConfigParam"&gt;&lt;/ul&gt;
&lt;ul class="SelectableTreeNode---nonComponentConfigParam"&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="SelectableTreeNode---selectableTreeNode SelectableTreeNode---leaf SelectableTreeNode---open SelectableTreeNode---allow_text_highlighting"&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;DDDD&amp;quot;&lt;/span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;(Text)&lt;/span&gt;&lt;/span&gt;
&lt;ul class="SelectableTreeNode---componentConfigParam"&gt;&lt;/ul&gt;
&lt;ul class="SelectableTreeNode---nonComponentConfigParam"&gt;&lt;/ul&gt;
&lt;/li&gt;
&lt;li class="SelectableTreeNode---selectableTreeNode SelectableTreeNode---leaf SelectableTreeNode---open SelectableTreeNode---allow_text_highlighting"&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_value"&gt;&amp;quot;EEEEE&amp;quot;&lt;/span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;(Text)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;but i need to get o/p as&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="CollapsibleOutputNode---print_element_type"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* *&lt;br /&gt;&amp;nbsp; * * * * * &lt;br /&gt;* * * * * * *&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/102632?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 07:43:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:76327b04-98e5-402e-b8fc-519c8d494735</guid><dc:creator>Abhishek_Manjunath</dc:creator><description>&lt;p&gt;We don&amp;#39;t need to loop here:&lt;/p&gt;
&lt;p&gt;Number:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;rept(enumerate(5)+1, enumerate(5) + 1)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Alphabets:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!data: { &amp;quot;A&amp;quot;, &amp;quot;B&amp;quot;, &amp;quot;C&amp;quot;, &amp;quot;D&amp;quot;, &amp;quot;E&amp;quot; },
  rept(
    index(local!data, enumerate(5) + 1, null),
    enumerate(5) + 1
  )
)&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/102630?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 07:04:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:367676a5-0820-4852-8ab8-72a485b5e530</guid><dc:creator>dineshkrishna</dc:creator><description>&lt;p&gt;Hi Harshit,&lt;/p&gt;
&lt;p&gt;Thanks for your response, just to know to get better clarity in functions, if you know logic please let me know&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Dinesh&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/102628?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 07:00:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f1b727a-6387-43ec-b2f4-012a95059d47</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Why would you want to do that in Appian?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/102627?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 06:59:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dc917e58-8843-4097-9cf5-a203c2cfaed1</guid><dc:creator>dineshkrishna</dc:creator><description>&lt;p&gt;How to do for Star/Hill program&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; *&amp;nbsp; &amp;nbsp; *&amp;nbsp; &amp;nbsp;*&lt;/p&gt;
&lt;p&gt;&amp;nbsp;*&amp;nbsp; &amp;nbsp;*&amp;nbsp; &amp;nbsp;*&amp;nbsp; *&amp;nbsp; &amp;nbsp;*&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;logic input&amp;nbsp; will be (Rows * 2 -1)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;for eg 1st Row...&amp;nbsp; &amp;nbsp;1*2-1=1 star&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2nd Row&amp;nbsp; &amp;nbsp; 2*2-1=3 stars&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3rd Row&amp;nbsp; &amp;nbsp; &amp;nbsp;3*2-1=5 stars&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;please suggest the logic&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/100893?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 19:45:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f9809ab5-f0a2-4583-85a7-5a92ebe6c731</guid><dc:creator>shukurs0001</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!stringList: {&amp;quot;A&amp;quot;,&amp;quot;B&amp;quot;,&amp;quot;C&amp;quot;,&amp;quot;D&amp;quot;,&amp;quot;E&amp;quot;},
  a!forEach(
    items: enumerate(length(local!stringList)),
    expression:joinarray(repeat(fv!index,local!stringList[fv!index]),&amp;quot; &amp;quot;)
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/15/pastedimage1662752782371v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/100892?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 19:37:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b6f82ed0-0050-4794-af0d-5b0def787d49</guid><dc:creator>shukurs0001</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!forEach(
  items: enumerate(5),
  expression:joinarray(repeat(fv!index,fv!index),&amp;quot; &amp;quot;)
)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/15/pastedimage1662752249669v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/92486?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 04:30:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3e8b5659-f05a-4e61-b9e6-65030433d56d</guid><dc:creator>viratyogi</dc:creator><description>&lt;p&gt;Hi please refer to the below code, just replace the list with the desired input&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!alphabet: { &amp;quot;A&amp;quot;, &amp;quot;B&amp;quot;, &amp;quot;C&amp;quot;, &amp;quot;D&amp;quot;, &amp;quot;E&amp;quot; },
  a!forEach(
    items: local!alphabet,
    expression: fn!joinarray(
      fn!repeat(
        fv!index,
        fv!item
      )
    )
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/15/pastedimage1647837007521v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/15/pastedimage1647837059673v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/92468?ContentTypeID=1</link><pubDate>Sat, 19 Mar 2022 15:38:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b48ee148-1d46-434e-a243-10fb86280215</guid><dc:creator>sairohitd054766</dc:creator><description>&lt;p&gt;a!flatten(&lt;br /&gt; a!forEach(&lt;br /&gt; items: enumerate(5) + 1,&lt;br /&gt; expression: { joinarray(repeat(fv!index, fv!item), &amp;quot;&amp;quot;) }&lt;br /&gt; )&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/83135?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 08:45:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:615ae862-8080-4d44-8dcb-896fcddc6c64</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Here you would need to effectively perform a substitution of the number that the previous example has been using with the relevant character:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!alphabet: {&amp;quot;A&amp;quot;,&amp;quot;B&amp;quot;,&amp;quot;C&amp;quot;,&amp;quot;D&amp;quot;,&amp;quot;E&amp;quot;},
  local!list: fn!enumerate(ri!myNumber) + 1,
  a!forEach(
    items: local!list,
    expression: fn!joinarray(fn!repeat(fv!item, fn!index(local!alphabet,fv!item,&amp;quot;?&amp;quot;)))
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/83134?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 08:39:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4d38d0b-d89a-47e7-9809-8ebc3ba7804a</guid><dc:creator>madhukiran.vadlamudi</dc:creator><description>&lt;p&gt;Hi stewart,&lt;/p&gt;
&lt;p&gt;Your solution helps.But what if we have String in that place.&lt;/p&gt;
&lt;p&gt;like&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A&lt;/p&gt;
&lt;p&gt;BB&lt;/p&gt;
&lt;p&gt;CCC&lt;/p&gt;
&lt;p&gt;DDDD&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Print number Patterns</title><link>https://community.appian.com/thread/83133?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 07:55:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0902b082-8593-4431-85df-46f8ca00a031</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;fn!joinarray(fn!repeat(ri!myNumber, ri!myNumber))&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Brief explanation:&lt;/p&gt;
&lt;p&gt;ri!myNumber is the rule input to the expression, of type Integer.&lt;/p&gt;
&lt;p&gt;fn!repeat() generates a list. It takes two parameters:&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;times&lt;/li&gt;
&lt;li&gt;input&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;so here we are generating a list, the length of which is defined by the value of ri!myNumber, and the value of each item is also ri!myNumber&lt;/p&gt;
&lt;p&gt;Since your output appears to be a a single string, the fn!joinarray is taking the list and collapsing it into a single value.&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re actually wanting ALL of the outputs you&amp;#39;ve defined then you&amp;#39;ll need to take the ri!myNumber, generate a list of the numbers from 1 to that number, and then use that list to iterate over the same pattern as expressed in the first code sample, like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!list: fn!enumerate(ri!myNumber) + 1,
  a!forEach(
    items: local!list,
    expression: fn!joinarray(fn!repeat(fv!item, fv!item))
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Now you have a general purpose Expression which you can pass any number and get the output to conform to the pattern of the example you provided. If you pass the value 5 to the new code you get this output:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/15/pastedimage1625039700298v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Note: if you need the output to be a list of integer you&amp;#39;ll have to use the fn!tointeger() to cast from text to integer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>