<?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>Unable to update grid data to database</title><link>https://community.appian.com/discussions/f/user-interface/14493/unable-to-update-grid-data-to-database</link><description>Hi All - 
 I&amp;#39;ve few editable columns in my grid, on click of a submit button, my data which appears on the grid should store into a database table. 
 steps followed: 
 1. created a rule input of CDT type, where as on form load my rule input shows null</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Unable to update grid data to database</title><link>https://community.appian.com/thread/65121?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 06:26:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:63290d86-88c4-4a89-bc52-27994baa9cf8</guid><dc:creator>mpatram</dc:creator><description>thanks a lot chandhinir for the sample code :) let me try and confirm.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to update grid data to database</title><link>https://community.appian.com/thread/65119?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 06:05:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a905e82f-2ffd-44ac-8082-57c392f5be0a</guid><dc:creator>chandhinir</dc:creator><description>&lt;p&gt;&lt;a href="https://community.appian.com/cfs-file/__key/communityserver-discussions-components-files/13/8255.SampleCode.txt"&gt;community.appian.com/.../8255.SampleCode.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to update grid data to database</title><link>https://community.appian.com/thread/65118?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 05:43:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1b28557-5046-4624-ab3d-405103094064</guid><dc:creator>mpatram</dc:creator><description>I used the below line of code and it didn&amp;#39;t work for me.&lt;br /&gt;
ri!funcDetails : {rule!G_HC_GetAllFunctionTeam()}&lt;br /&gt;
&lt;br /&gt;
pls guide me as I am a beginner in APPIAN.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to update grid data to database</title><link>https://community.appian.com/thread/65117?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 05:29:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:55b57517-dc78-4637-8fbe-09bb622fe7af</guid><dc:creator>chandhinir</dc:creator><description>you can pass the query entity rule which returns funcDetails CDT  in the rule input value.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to update grid data to database</title><link>https://community.appian.com/thread/65116?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 05:14:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d7925a15-7fb4-4023-a1c8-f73b83384946</guid><dc:creator>mpatram</dc:creator><description>Yes, but how do I fill my rule input?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to update grid data to database</title><link>https://community.appian.com/thread/65115?ContentTypeID=1</link><pubDate>Mon, 11 Mar 2019 05:10:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d3bd72b7-7b1a-40b6-bed5-49e573d48e78</guid><dc:creator>chandhinir</dc:creator><description>Hi, it seems that ri!funDetails is empty when you pass the value into write to datastore entity. please check the value of ri!funcDetails when submit button is clicked&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to update grid data to database</title><link>https://community.appian.com/thread/65110?ContentTypeID=1</link><pubDate>Sat, 09 Mar 2019 17:03:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:001feee5-6acf-43c8-9168-9eced8c66efa</guid><dc:creator>mpatram</dc:creator><description>Getting the below error:&lt;br /&gt;
&lt;br /&gt;
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error [evaluation ID = PCOE0ETG] : An error occurred while executing a save: Expression evaluation error at function fn!error [line 13]: The valueToStore parameter of a!writeToDataStoreEntity() cannot be null or empty.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>