<?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>topic Inconsistent incremental updates from Microsoft Dynamics 365 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Inconsistent-incremental-updates-from-Microsoft-Dynamics-365/m-p/2204992#M5640</link>
    <description>&lt;P&gt;We have a process that downloads full data from a couple Microsoft Dynamics CRM entities and stores in an AWS Aurora Postgres database.&amp;nbsp; Since this data is typically quite static from day to day, we don't want to do full truncate/replace actions every time we run.&amp;nbsp; Instead, since every entity we are downloading has a "modified_on" timestamp field, we are trying to key off of that.&amp;nbsp; We store the greatest value of modified on in a separate object, and only pull rows from source where "modified_on &amp;gt; saved_value."&amp;nbsp; Then, we can run a quick, incrementally updating process we can run as often as is needed.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Our process works by&lt;/P&gt; 
&lt;P&gt;- Establish connection to our Dynamics Source&lt;/P&gt; 
&lt;P&gt;- use tDBInput followed by tContextLoad and tLogRow to store saved_value as context variables&lt;/P&gt; 
&lt;P&gt;- use tMicrisoftCrmInput to extract data, on the condition that modified_on &amp;gt; saved_value&lt;/P&gt; 
&lt;P&gt;- Upsert result rows in Postgres database&lt;/P&gt; 
&lt;P&gt;-&amp;nbsp; Find the new maximum value of modified_on, and store in the same database&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This works incredibly well, for some entities.&amp;nbsp; Other, there are clear missing updates -- rows would be modified between iterations of saved_value, but our process does not pick them up to update.&amp;nbsp; Our flat file testing has yet to reproduce this issue, and it is quite intermittent.&amp;nbsp; We had thought this was an issue regarding entity-lock, users updating while we were pulling data, but we have seen more instances than not where the update date was not even close to our download times.&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;A couple other things&lt;/P&gt; 
&lt;P&gt;- We have rare instances where we do lookups during the downloads, or where we have to break apart custom JSON.&amp;nbsp; Some of these cause the same issue, some don't.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Has anyone else seen this issue, or come to a resolution with having consistently accurate incremental data pulls from Dynamics CRM?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:14:35 GMT</pubDate>
    <dc:creator>mdecaro</dc:creator>
    <dc:date>2024-11-16T03:14:35Z</dc:date>
    <item>
      <title>Inconsistent incremental updates from Microsoft Dynamics 365</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Inconsistent-incremental-updates-from-Microsoft-Dynamics-365/m-p/2204992#M5640</link>
      <description>&lt;P&gt;We have a process that downloads full data from a couple Microsoft Dynamics CRM entities and stores in an AWS Aurora Postgres database.&amp;nbsp; Since this data is typically quite static from day to day, we don't want to do full truncate/replace actions every time we run.&amp;nbsp; Instead, since every entity we are downloading has a "modified_on" timestamp field, we are trying to key off of that.&amp;nbsp; We store the greatest value of modified on in a separate object, and only pull rows from source where "modified_on &amp;gt; saved_value."&amp;nbsp; Then, we can run a quick, incrementally updating process we can run as often as is needed.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Our process works by&lt;/P&gt; 
&lt;P&gt;- Establish connection to our Dynamics Source&lt;/P&gt; 
&lt;P&gt;- use tDBInput followed by tContextLoad and tLogRow to store saved_value as context variables&lt;/P&gt; 
&lt;P&gt;- use tMicrisoftCrmInput to extract data, on the condition that modified_on &amp;gt; saved_value&lt;/P&gt; 
&lt;P&gt;- Upsert result rows in Postgres database&lt;/P&gt; 
&lt;P&gt;-&amp;nbsp; Find the new maximum value of modified_on, and store in the same database&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This works incredibly well, for some entities.&amp;nbsp; Other, there are clear missing updates -- rows would be modified between iterations of saved_value, but our process does not pick them up to update.&amp;nbsp; Our flat file testing has yet to reproduce this issue, and it is quite intermittent.&amp;nbsp; We had thought this was an issue regarding entity-lock, users updating while we were pulling data, but we have seen more instances than not where the update date was not even close to our download times.&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;A couple other things&lt;/P&gt; 
&lt;P&gt;- We have rare instances where we do lookups during the downloads, or where we have to break apart custom JSON.&amp;nbsp; Some of these cause the same issue, some don't.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Has anyone else seen this issue, or come to a resolution with having consistently accurate incremental data pulls from Dynamics CRM?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Inconsistent-incremental-updates-from-Microsoft-Dynamics-365/m-p/2204992#M5640</guid>
      <dc:creator>mdecaro</dc:creator>
      <dc:date>2024-11-16T03:14:35Z</dc:date>
    </item>
  </channel>
</rss>

