<?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>enumerate function</title><link>https://community.appian.com/discussions/f/user-interface/30869/enumerate-function</link><description>How to populate a dropdown list of years between 1990 to 2023 using enumerate function</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: enumerate function</title><link>https://community.appian.com/thread/122963?ContentTypeID=1</link><pubDate>Fri, 08 Dec 2023 19:27:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b920a5b5-1336-4bc0-a9c0-ef24fbdf2c51</guid><dc:creator>divyas037332</dc:creator><description>&lt;p&gt;&lt;strong&gt;enumerate(2023-1990+1)+1990&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You can use below logic and get the values from any limit:&lt;/p&gt;
&lt;p&gt;a!localVariables(&lt;br /&gt; local!startingYear:1990, /*Instead of hard coding you can use constant*/&lt;br /&gt; local!currentYear: year(now()), /*In your case this value is 2023*/&lt;br /&gt; enumerate(local!currentYear-local!startingYear+1)+local!startingYear&lt;br /&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>