<?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 All,  I am trying to understand and solve the root cause of the fol</title><link>https://community.appian.com/discussions/f/general/7947/hi-all-i-am-trying-to-understand-and-solve-the-root-cause-of-the-fol</link><description>Hi All, I am trying to understand and solve the root cause of the following error: An error occurred while trying to write to the entity “dealModuleStatusUpdate” [id=b2df0791-624a-4830-ae86-4800cb14d12a@7840, type=ICAMS_DealModulesStatusUpdate (id=3934</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi All,&lt;br /&gt;&lt;br /&gt;I am trying to understand and solve the root cause of the fol</title><link>https://community.appian.com/thread/33020?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2016 21:13:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:79154cb7-2b2f-4005-8583-8415d8a36e3e</guid><dc:creator>sanjays0006</dc:creator><description>Sailesh,&lt;br /&gt;I think this is data issue. When I look at the screenshot 2, one value is missing in moduleAsShippedUpdates(23ML-71-GB). Check the data once.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi All,&lt;br /&gt;&lt;br /&gt;I am trying to understand and solve the root cause of the fol</title><link>https://community.appian.com/thread/33010?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2016 18:10:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5260eef1-e91b-406a-9721-a874c736f582</guid><dc:creator>saileshd</dc:creator><description>Thanks Lakshmim.&lt;br /&gt;I Have attached two images in the zip file. Capture.png shows the problem in the Datastore entity. Second image shows the values of two variables that I am writing to database. The first write to Data Store Entity Write &amp;quot;moduleAsShippedUpdates&amp;quot; to ICAMS_MODULE and second data store entity writes &amp;quot;dealModuleStatusUpdates&amp;quot; to ICAMS_DEAL_MODULES.&lt;br /&gt;&lt;br /&gt;So I am not able to understand the real problem here. I tested the same feature in my other environments i.e DEV and QA and it works perfectly fine.&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/Foreign-Constraint-Error.zip"&gt;Foreign Constraint Error.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi All,&lt;br /&gt;&lt;br /&gt;I am trying to understand and solve the root cause of the fol</title><link>https://community.appian.com/thread/33007?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2016 17:55:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6751e73e-d18c-487f-8f71-8fb6439a550a</guid><dc:creator>Lakshmi Meyyappan</dc:creator><description>I believe that a value you&amp;#39;re entering into the ICAMS_DEAL_MODULES table&amp;#39;s SERIAL_NUMBER column doesn&amp;#39;t exist in the ICAMS_MODULE table. So if the serials numbers in the ICAMS_MODULE table are {1,2,3,4,5}, but you try to enter a row of data into ICAMS_DEAL_MODULES with a serial number of 6, then it will fail because it looks up the foreign key and can&amp;#39;t find that value in the original table.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi All,&lt;br /&gt;&lt;br /&gt;I am trying to understand and solve the root cause of the fol</title><link>https://community.appian.com/thread/33006?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2016 17:48:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa0ec7ce-a18b-4e8d-baeb-e5221f00c8d1</guid><dc:creator>saileshd</dc:creator><description>...54,110332,23ML-81,1,2016-06-29 22:39:34.21,lewisro},{&amp;lt;null&amp;gt;,110332,23ML-77-GB,1,2016-06-29 22:39:34.21,lewisro},{&amp;lt;null&amp;gt;,110332,23ML-78-GB,1,2016-06-29 22:39:34.21,lewisro},{&amp;lt;null&amp;gt;,110332,23ML-79-GB,1,2016-06-29 22:39:34.21,lewisro},{&amp;lt;null&amp;gt;,110332,23ML-80-GB,1,2016-06-29 22:39:34.21,lewisro},{&amp;lt;null&amp;gt;,110332,23ML-81-GB,1,2016-06-29 22:39:34.21,lewisro},{&amp;lt;null&amp;gt;,110332,138033,0,2016-06-29 22:39:34.3,lewisro},{&amp;lt;null&amp;gt;,110332,23ML-71-GB,0,2016-06-29 22:39:34.3,lewisro}}] &lt;br /&gt;&lt;br /&gt;Would really appreciate if anyone can share the solution for this.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>