<?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>What is the proper way to clear a process variable?</title><link>https://community.appian.com/discussions/f/process/18929/what-is-the-proper-way-to-clear-a-process-variable</link><description>Hello Community, 
 In our app there is a process model which has two variables of type INT. By default they had no value and downstream logic expected this. In a recent change someone added the value of zero to these variables and broke the logic. 
 We</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: What is the proper way to clear a process variable?</title><link>https://community.appian.com/thread/74377?ContentTypeID=1</link><pubDate>Tue, 26 May 2020 15:58:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1e0aeb0-f8f4-49f5-84e9-8c93284293b0</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Integer PVs are expected (for some reason) to initialize to Zero unless you specifically set them otherwise.&amp;nbsp; I believe that specifically setting them to &lt;strong&gt;&lt;em&gt;=null()&lt;/em&gt;&lt;/strong&gt; is the standard way around this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the proper way to clear a process variable?</title><link>https://community.appian.com/thread/74374?ContentTypeID=1</link><pubDate>Tue, 26 May 2020 15:45:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:83ad5cd8-505a-417f-8792-f66abb844fe1</guid><dc:creator>Danny Verb</dc:creator><description>&lt;p&gt;It is not expected for the variable values to return once a new published version has been pushed to production. This new version will only affect new processes kicked off, not ones that have already started. For best practice, the default values for process variables should not be used. To properly set or clear the value of a process variable, use the &amp;#39;Data -&amp;gt; Output&amp;#39; tab within a Script Task node.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>