<?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>Null value in Environment Specific Constant</title><link>https://community.appian.com/discussions/f/data/38351/null-value-in-environment-specific-constant</link><description>Hi Team 
 I am using an environment specific date constant. 
 This is an array of dates constant .. I want to deploy to higher environment but in such a manner that the constant should be null ( because I will be appending values in it via process model</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Null value in Environment Specific Constant</title><link>https://community.appian.com/thread/146892?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 13:48:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:291f4397-b078-496c-a171-aee2a963aa63</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;There&amp;#39;s a reasonable workaround to deploy a &amp;quot;default value&amp;quot; of environment specific constants to higher environments without needing a Properties file, and this sounds like a good use case for using this workaround:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;create the constant in your dev environment with exactly the default value set how you want (clearing out any dev-specific data or setting if necessary)&lt;/li&gt;
&lt;li&gt;UNCHECK (if needed) the &amp;quot;environment specific&amp;quot; checkbox in the Dev copy&lt;/li&gt;
&lt;li&gt;deploy the constant (on its own) to all higher environments&lt;/li&gt;
&lt;li&gt;CHECK the &amp;quot;environment specific&amp;quot; checkbox in the Dev copy&lt;/li&gt;
&lt;li&gt;deploy the constant (again by itself) to all higher environments again - their &amp;quot;environment specific&amp;quot; setting will now be changed.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Null value in Environment Specific Constant</title><link>https://community.appian.com/thread/146861?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 03:19:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cadc66c9-2edd-4ca5-b3ae-f7ef5247371a</guid><dc:creator>Vyshnavi Naripeddi</dc:creator><description>&lt;p&gt;&lt;span&gt;1. In the lower environment, where you have the array of dates constant defined, leave the constant value empty. Do not provide any values in the constant. 2. When deploying to the higher environment, in the custom properties file, do not provide any value for the constant. Leave the property value blank. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For example, in the custom properties file, the entry for the date constant would look like this: &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;date_constant= &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;By leaving the property value empty, the constant in the higher environment will be deployed as a null value, as desired.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Null value in Environment Specific Constant</title><link>https://community.appian.com/thread/146830?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 09:12:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1b8a78e1-de22-422e-84f9-911f5945bb40</guid><dc:creator>Pablo Esteban Alvarez</dc:creator><description>&lt;p&gt;If you leave that line of the properties file commented with #, I&amp;#39;d say it will deploy the constant the way you&amp;#39;re looking for. If not, I would try to declare it as null, not sure tho.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Null value in Environment Specific Constant</title><link>https://community.appian.com/thread/146526?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 10:05:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aeb6f691-43f7-4435-be56-8da29cc0e11d</guid><dc:creator>kapilsharma</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/gautams4173"&gt;GautamShenoy&lt;/a&gt; ,&lt;br /&gt;&lt;br /&gt;Yes you can update the value of environment specific constant via custom properties file &lt;br /&gt;which you need to use during deployment &lt;br /&gt;Within the custom properties file, look for the constant and update its value after removing the HASH(#) from the beginning of the line.&lt;br /&gt;&lt;br /&gt;Once the constant has been deployed, you can use it to update it via process model.&lt;br /&gt;&lt;br /&gt;Hope that&amp;#39;s helpful&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>