<?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>Delete data</title><link>https://community.appian.com/discussions/f/data/14484/delete-data</link><description>Hello, 
 I have a process where I want first delete all data from a variable, before update the datas. 
 This variable is multiple, for example the variable Directory which I have all the directions of persons of a town in. 
 Well, I am using the smart</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Delete data</title><link>https://community.appian.com/thread/65099?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2019 08:25:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd2a95db-ff2a-4ebd-80e4-3f4aad5dff2f</guid><dc:creator>mteresa</dc:creator><description>Delete all data is a requirement of the client.&lt;br /&gt;
&lt;br /&gt;
I found the solution. The smart service &amp;quot;Delete from Data Store Entities&amp;quot; doesnt work for me, I used &amp;quot;Query Database&amp;quot; and I write in SQL the sentences Delete from  * ...., and it works.&lt;br /&gt;
&lt;br /&gt;
Thank you everybody.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete data</title><link>https://community.appian.com/thread/65089?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2019 17:30:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ed92e5e4-f711-48d6-b663-8cb2141a1f23</guid><dc:creator>Kenneth Chen</dc:creator><description>Taking a step back, what is the overarching use case? I&amp;#39;m confused as to what the scenario would be where you commit something to the db only to wipe it every time you start the process.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete data</title><link>https://community.appian.com/thread/65080?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2019 14:21:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ad6101f1-3f87-4a78-ba7a-d6d039e88721</guid><dc:creator>mteresa</dc:creator><description>It is a specific field with CDT, but it has multiples values, like:&lt;br /&gt;
&lt;br /&gt;
                          Directory:[  &lt;br /&gt;
                                           [address: Madrid, Number:2], &lt;br /&gt;
                                           [address: Ciudad Real, Number:3]&lt;br /&gt;
                          ].  &lt;br /&gt;
&lt;br /&gt;
It has CDT and Data store, and I just want: when I will start the process, delete every data of Directory and have empty my database of Directory.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Delete data</title><link>https://community.appian.com/thread/65076?ContentTypeID=1</link><pubDate>Thu, 07 Mar 2019 13:06:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4975d65a-7b4b-498b-8807-a4914ce65b10</guid><dc:creator>Kenneth Chen</dc:creator><description>Depending on exactly what you mean by variable there are different methods:&lt;br /&gt;
&lt;br /&gt;
If by &amp;#39;variable&amp;#39; you mean a simple process variable, then it is not a data store entity and so instead of using the &amp;#39;Delete from Data Store Entity&amp;#39; you should simply use a script task to write null into that variable&lt;br /&gt;
&lt;br /&gt;
If you are referring to a specific field within a CDT, the same advice applies.  The &amp;#39;delete from data store entity&amp;#39; actually removes the row from the db, meaning that there is nothing to update after running it.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>