<?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>Problem trying to delete Data</title><link>https://community.appian.com/discussions/f/data/30034/problem-trying-to-delete-data</link><description>Hi! I have created two different Records (R1, R2). In my site, I have a summary view of R1, which shows some info + a Read-Only Grid of R2 (filtered by R1 primary key) 
 Besides I have a related action (of R1) to delete the records of R1 
 
 
 My problem</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Problem trying to delete Data</title><link>https://community.appian.com/thread/119369?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2023 04:43:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aae5f31b-6dcc-417c-ba6b-cab27ce3db09</guid><dc:creator>Mandark52</dc:creator><description>&lt;p&gt;Hi Carlos! I would not recommend to completely delete the entry from the database except for certain scenarios eg - temp data which is not required to be audited. Instead you may add a column to the record - &amp;#39;isActive&amp;#39; of boolean data type and set the value to False whenever you wish to delete the data.&lt;/p&gt;
&lt;p&gt;For grids where you wish to display the records (be it R1 or R2) add a source filter for active records only (isActive = true).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In your case, you can configure the process model of related action of R1 to update the column &amp;#39;isActive&amp;#39; of R1 and R2 to false. I hope this helps. Let me know if you have any further queries on this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem trying to delete Data</title><link>https://community.appian.com/thread/119299?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 10:19:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b80a8117-522e-426e-bcdf-1c64577f8b9c</guid><dc:creator>carlosp5114</dc:creator><description>&lt;p&gt;Hi Mandark! With delete, I mean to delete the entry of the associated records (in my case, R1 and R2 entries)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem trying to delete Data</title><link>https://community.appian.com/thread/119298?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 09:56:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b0608357-36d5-45a6-b182-6cc7c7430be0</guid><dc:creator>Mandark52</dc:creator><description>&lt;p&gt;Hello! I want to know what does Delete mean here. Do you actually delete an entry or just toggle a Boolean field which helps in controlling the visibility?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>