<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Proof whether flowfile content already exists in database - NIFI in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349694#M235738</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;thanks for your answer!&lt;/P&gt;&lt;P&gt;I use UpdateRecordProcessor so the format can be whatever it needs to be &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; JSON, CSV, Avro... I don't care.&lt;/P&gt;&lt;P&gt;There is a product id in both flowfiles. But most of the time the id is already in the database but just with another stock. So just checking whether the id already exists or not is not enough.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2022 08:15:27 GMT</pubDate>
    <dc:creator>code</dc:creator>
    <dc:date>2022-08-08T08:15:27Z</dc:date>
    <item>
      <title>Proof whether flowfile content already exists in database - NIFI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349625#M235704</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have one flowfile with data I get from an external source (stock of a supplier). The products are already in a database. So now I have to check whether the stock has changed. If the stock of my flowfile is equal to the one in the database, I don't want to write the entry into the database (avoid duplicates).&lt;/P&gt;&lt;P&gt;Maybe someone of you has an idea how to implement this best.&lt;/P&gt;&lt;P&gt;Many thanks for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 11:16:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349625#M235704</guid>
      <dc:creator>code</dc:creator>
      <dc:date>2022-08-05T11:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proof whether flowfile content already exists in database - NIFI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349631#M235705</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the flowfile content format? Is there an Id you can check using the LookupRecord processor to see if the record already exists or not?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 13:28:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349631#M235705</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-08-05T13:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proof whether flowfile content already exists in database - NIFI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349694#M235738</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;thanks for your answer!&lt;/P&gt;&lt;P&gt;I use UpdateRecordProcessor so the format can be whatever it needs to be &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; JSON, CSV, Avro... I don't care.&lt;/P&gt;&lt;P&gt;There is a product id in both flowfiles. But most of the time the id is already in the database but just with another stock. So just checking whether the id already exists or not is not enough.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 08:15:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349694#M235738</guid>
      <dc:creator>code</dc:creator>
      <dc:date>2022-08-08T08:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proof whether flowfile content already exists in database - NIFI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349727#M235750</link>
      <description>&lt;P&gt;The lookupRecrod processor allows you to specify multiple lookup columns in the DatabaseRecordLookupService incase the id is not enough. I had a similar sitution and I usually defer this kind of check to the DB, so my workflow will call stored proc - with the record parameters - that will check if the record exist or not and based on that decide wither to update or insert. This way Im making only one connection to the DB.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 16:00:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349727#M235750</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-08-08T16:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proof whether flowfile content already exists in database - NIFI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349747#M235757</link>
      <description>&lt;P&gt;Thanks! That sounds like a good solution.&lt;/P&gt;&lt;P&gt;Is it possible that you send me the configuration of your LookupRecord Processor? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 07:21:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349747#M235757</guid>
      <dc:creator>code</dc:creator>
      <dc:date>2022-08-09T07:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proof whether flowfile content already exists in database - NIFI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349752#M235758</link>
      <description>&lt;P&gt;Hello again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I'm currently struggling with telling the LookupRecord to use multiple columns as key (same in DatabaseRecordLookupService). It would be awesome if you could help me with this!&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 07:58:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/349752#M235758</guid>
      <dc:creator>code</dc:creator>
      <dc:date>2022-08-09T07:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proof whether flowfile content already exists in database - NIFI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/377655#M243313</link>
      <description>&lt;P&gt;Hi i am wokring on it can you share me the flow file configuration and sp it will helpful to me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2023 10:52:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Proof-whether-flowfile-content-already-exists-in-database/m-p/377655#M243313</guid>
      <dc:creator>Abhiram-4455</dc:creator>
      <dc:date>2023-10-15T10:52:46Z</dc:date>
    </item>
  </channel>
</rss>

