<?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>Hi everyone,  I would like to know if it is possible to set default va</title><link>https://community.appian.com/discussions/f/general/6697/hi-everyone-i-would-like-to-know-if-it-is-possible-to-set-default-va</link><description>Hi everyone, I would like to know if it is possible to set default values for decimal input fields (in SAIL interfaces) to &amp;quot;zero&amp;quot; value, for example. By default, these values are filled by &amp;quot;null&amp;quot; but i want to change these values How this is possible</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi everyone,&lt;br /&gt;&lt;br /&gt;I would like to know if it is possible to set default va</title><link>https://community.appian.com/thread/26445?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2016 20:17:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6b0945b6-4fde-41d8-8224-9ce4b7727758</guid><dc:creator>Jennifer Durina</dc:creator><description>I would be wary about making it a habit to default data using the suggested if() method in the form. If a form field is not interacted with, the field will not save. In this case if zero is not interacted with and it doesn&amp;#39;t save zero it probably won&amp;#39;t be a problem (since integers default to zero anyways). &lt;br /&gt;&lt;br /&gt;However if you&amp;#39;re defaulting a field with something you may expect the user to take (let&amp;#39;s say you default a boolean approval to &amp;quot;false&amp;quot;) and the user doesn&amp;#39;t change it, a null will be saved, not false. &lt;br /&gt;&lt;br /&gt;A better way to default data on a form is to default the value of input in the user input task itself. You can default the data by setting the &amp;quot;value&amp;quot; attribute in the input to the data you want it to default to. Also by defaulting the data being passed in, your interface is more reusable--you could use the same interface but default different data values for different scenarios. &lt;br /&gt;&lt;a href="https://forum.appian.com/suite/help/7.11/Data_Tab.html#Creating_Node_Inputs"&gt;forum.appian.com/.../Data_Tab.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi everyone,&lt;br /&gt;&lt;br /&gt;I would like to know if it is possible to set default va</title><link>https://community.appian.com/thread/26398?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2016 19:29:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c472d742-be59-42e2-b5e4-f3f427eb25d9</guid><dc:creator>tiagos</dc:creator><description>Thanks a lot! It works perfectly.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi everyone,&lt;br /&gt;&lt;br /&gt;I would like to know if it is possible to set default va</title><link>https://community.appian.com/thread/26396?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2016 19:26:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:90b8ad13-b572-45b5-bcd1-382bdf5a6e59</guid><dc:creator>Eliot Gerson</dc:creator><description>Sorry, misplaced parentheses. It would be if(isnull(&amp;lt;YOUR_ITEM&amp;gt;), 0, &amp;lt;DESIRED_VALUE_IF_NOT_NULL)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi everyone,&lt;br /&gt;&lt;br /&gt;I would like to know if it is possible to set default va</title><link>https://community.appian.com/thread/26395?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2016 19:25:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7155e94e-68ab-451b-825f-6b9631459d6e</guid><dc:creator>Eliot Gerson</dc:creator><description>There are several ways you could implement this. In 7.11, you can use placeholder text, if the goal is to display &amp;quot;0&amp;quot; on the interface (see &lt;a href="https://forum.appian.com/suite/help/7.11/SAIL_Components.html#Integer"&gt;forum.appian.com/.../SAIL_Components.html&lt;/a&gt; ). You can also use the expression if(isnull(&amp;lt;YOUR_ITEM&amp;gt;, 0, &amp;lt;DESIRED_VALUE_IF_NOT_NULL)) for the &amp;quot;value&amp;quot; attribute. For easy reuse, you can save this expression as a rule. You can also pass &amp;quot;starting values&amp;quot; into the interface, using parameters (see &lt;a href="https://forum.appian.com/suite/help/7.11/Configuring_Process_Variables.html)"&gt;forum.appian.com/.../Configuring_Process_Variables.html)&lt;/a&gt;.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>