<?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>Duplicate Remove in data base</title><link>https://community.appian.com/discussions/f/user-interface/21038/duplicate-remove-in-data-base</link><description>Hi All, 
 please tell me how to not insert the duplicate data in database 
 
 code:- 
 { a!localVariables( /* This variable is used to persist the checkbox on selected items by holding the identifiers of the selected rows. */ local!selection, local!Taglist</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Duplicate Remove in data base</title><link>https://community.appian.com/thread/82149?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 10:07:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b35195bc-3961-4981-8c41-acfca4865fcb</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Thanks Harhsa. Adding to this, a reduced example will save us a lot of time trying to understand your code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Duplicate Remove in data base</title><link>https://community.appian.com/thread/82148?ContentTypeID=1</link><pubDate>Fri, 28 May 2021 09:38:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aa6b4b93-f92f-4c8b-8d8a-1c9839b55af0</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;Its really difficult to read the code this way. Please make use of the&amp;nbsp;&lt;strong&gt;Insert Code&lt;/strong&gt; option under&amp;nbsp;&lt;strong&gt;Insert&amp;nbsp;&lt;/strong&gt;menu to embed the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Duplicate Remove in data base</title><link>https://community.appian.com/thread/81918?ContentTypeID=1</link><pubDate>Mon, 24 May 2021 12:33:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23b2df17-8230-4782-940f-60aef5a18ea8</guid><dc:creator>said0002</dc:creator><description>&lt;p&gt;&lt;span&gt;saveInto:{&lt;/span&gt;&lt;br /&gt;&lt;span&gt;a!forEach(items: local!filter,expression:a!save(local!items, append(local!items,{customerid: local!filter.customernumber[fv!index], tag: local!filter.tag.tagname[fv!index], portfolioname: local!filter.value[fv!index], portfolioid: local!filter.customerid[fv!index], tagid: local!filter.tag.tagid[fv!index]}))),&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;a!writeToDataStoreEntity(&lt;/span&gt;&lt;br /&gt;&lt;span&gt;dataStoreEntity: cons!portfoliomasterorg,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;valueToStore: local!items&lt;/span&gt;&lt;br /&gt;&lt;span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;in the above code i am writing the data to DB&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>