<?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>Constant max value</title><link>https://community.appian.com/discussions/f/general/10844/constant-max-value</link><description>Is there any limit to the maximum number of values a constant of type multiple can hold?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Constant max value</title><link>https://community.appian.com/thread/47586?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2017 18:44:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9e121adb-67d6-47a8-9417-8c7ff4fb79a2</guid><dc:creator>davids0001</dc:creator><description>One rule of thumb that I like to utilize constants in place of reference tables with data that won&amp;#39;t be frequently changed.  This isn&amp;#39;t transaction data you expect to change daily but lookup values that might not change for a year or more.   A list of US States would be perfect as a constant and not DB.&lt;br /&gt;
&lt;br /&gt;
If it has more than 100 or 200 rows, or if each row has more than 5 or 6 elements you might want to consider a DB query rather than constant.  After a certain size the speed of SQL makes up for the delay in linking to it.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Constant max value</title><link>https://community.appian.com/thread/47584?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2017 18:27:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae7c0e23-1a3a-4a73-aa47-340e32ce0ecf</guid><dc:creator>naveenp878</dc:creator><description>Hi - I agree with both views with little correction. As sravanis said, There is no limit to the values of a constant type and issue with memory. Memory with the constants or rules can happen only when the versions are in more. Example if the constant has 200 version then it will use steap memory.&lt;br /&gt;
&lt;br /&gt;
We have a situation where one of the constant has 10,000 version which was updating at a specific interval with makes the system completey unusable. Then we had to delete the version to restore it back.&lt;br /&gt;
&lt;br /&gt;
So as suggested by kchaitanyam, the best practice is used go for a database table and on demand you fetch the required data as when needed.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Constant max value</title><link>https://community.appian.com/thread/47363?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2017 06:24:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:38ba1729-db98-4df4-8eb9-e478f791a1e1</guid><dc:creator>sravanis</dc:creator><description>Hi ashokv,&lt;br /&gt;
&lt;br /&gt;
As per my knowledge, there is no limit for constant to hold values.&lt;br /&gt;
&lt;br /&gt;
thanks,&lt;br /&gt;
Sravani.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Constant max value</title><link>https://community.appian.com/thread/47362?ContentTypeID=1</link><pubDate>Mon, 07 Aug 2017 05:37:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:951d7f69-7cd9-4814-8e85-d6a2bc3f9948</guid><dc:creator>Krishna Chaitanya</dc:creator><description>No limit, but  it will increase the memory usage,so better to go with database.&lt;br /&gt;
plz correct me if am wrong.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>