<?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 Re: Replicating Salesforce Archived Data in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Replicating-Salesforce-Archived-Data/m-p/2112666#M7221</link>
    <description>&lt;P&gt;Hello Nak&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144275"&gt;@NakulanR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out!&lt;/P&gt;
&lt;P&gt;There are some changes (below sample is based on Replicate 2023.5):&lt;/P&gt;
&lt;P&gt;1- The Boolean fields are visible in GUI and can be replicated to target side now&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (In the old versions these fields are invisible).&amp;nbsp; A sample screen shot:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1693793422968.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/115619i8A6D3BA0CB1AAD8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1693793422968.png" alt="john_wang_0-1693793422968.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2- However in this version the "&lt;SPAN&gt;Fullload Passthru Filter" is ignored still (see above screen shot), Replicate does not replicate the rows with "IsDeleted = 1" and/or "IsArchived= 1". This is implicit Query Behavior and I'm afraid there is no way to change it at present. Please raise Feature Request if you need it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Comparison between SOQL include "Deleted and archived records" and Replicate SQL, SOQL shows the IsDeleted row (the latest line of the result set):&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1693793818944.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/115620i3B42A669D67A276E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1693793818944.png" alt="john_wang_1-1693793818944.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From Replicate endpoint server log file we see the last row is implicitly filtered out (we got 5 lines instead of 6 lines data):&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;qtp391254696-1512 2023-09-04 09:33:38.807 [sourceunload ] [VERBOSE] [] Unload 'Task' using SOAP API. Executing SELECT query: '&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;SELECT Id, Subject, IsDeleted, IsArchived FROM Task&lt;/FONT&gt;&lt;/STRONG&gt;'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;qtp391254696-1512 2023-09-04 09:33:38.807 [sourceunload ] [VERBOSE] [] ENTER: SoapAPIConnection.querySF: SELECT Id, Subject, IsDeleted, IsArchived FROM Task&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;qtp391254696-1512 2023-09-04 09:33:40.400 [sourceunload ] [TRACE ] [] Query returned 5 objects, query: SELECT Id, Subject, IsDeleted, IsArchived FROM Task&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;qtp391254696-1512 2023-09-04 09:33:40.400 [sourceunload ] [VERBOSE] [] Query executed: SELECT Id, Subject, IsDeleted, IsArchived FROM Task&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;qtp391254696-1512 2023-09-04 09:33:40.400 [sourceunload ] [VERBOSE] [] &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;The query result 5 record(s)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;qtp391254696-1512 2023-09-04 09:33:40.400 [sourceunload ] [TRACE ] [] Table 'Task': Sent 5 records.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;BTW, the behavior is irrelevant to&amp;nbsp;&lt;SPAN&gt;Bulk or SOAP APIs&amp;nbsp;versions etc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2023 02:25:31 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2023-09-04T02:25:31Z</dc:date>
    <item>
      <title>Replicating Salesforce Archived Data</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicating-Salesforce-Archived-Data/m-p/2021975#M4605</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have the TASK table that has the auto archiving process from Salesforce. We want to replicate all data in the table and when performing a full load from Salesforce Incremental + SOAP Api, Qlik does not recognize or see the data that is available but marked as 'Archived: IsArchive=1'. Full Load replicated 11+ million rows, however there are over 40 million rows in the table.&lt;/P&gt;
&lt;P&gt;I've searched and haven't found anything. Anyone ideas or work around for this using Qlik Replicate? I've seen from my search Informatica has an option that can be enabled to extract this archived data. Similar to the functionality of Workbench.&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 00:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicating-Salesforce-Archived-Data/m-p/2021975#M4605</guid>
      <dc:creator>juandavidc</dc:creator>
      <dc:date>2023-01-05T00:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Replicating Salesforce Archived Data</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicating-Salesforce-Archived-Data/m-p/2022161#M4611</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/184075"&gt;@juandavidc&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for you reaching out.&lt;/P&gt;
&lt;P&gt;Per my researching the current Replicate versions does not support the passthrough filter for Salesforce source Endpoint, that's why we cannot get the additional rows. You may&amp;nbsp;&amp;nbsp;&lt;A title="open an idea" href="https://community.qlik.com/t5/Suggest-an-Idea/idb-p/qlik-ideas" target="_blank" rel="noopener"&gt;open an idea&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My steps: Let's say we can query the 'IsDeleted' rows, or 'isArchived' rows in some 3rd party tools, eg:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1672917251369.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97328iB6126A9459C0340A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1672917251369.png" alt="john_wang_0-1672917251369.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So I tried to add the filter to Replicate passthrough filter as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1672917377479.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/97329iCAEBA7052649DB1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1672917377479.png" alt="john_wang_1-1672917377479.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;At beginning I hope it works as salesforce link &lt;A title="isArchived Event/Task Field" href="https://developer.salesforce.com/forums/?id=906F000000093C1IAI" target="_blank" rel="noopener"&gt;isArchived Event/Task Field&lt;/A&gt;&amp;nbsp;. However from the task runtime log files, the filter or conditional expression does not work .&amp;nbsp; Because Salesforce endpoint is not as same as a RDBMS one, the passthrough expression was ignored (although no error or warning popped up).&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 11:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicating-Salesforce-Archived-Data/m-p/2022161#M4611</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-01-05T11:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Replicating Salesforce Archived Data</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicating-Salesforce-Archived-Data/m-p/2112074#M7197</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Just wondering if there has been any further progress with this. There's no mention of the IsArchived field in the Replicate user guide, so I would assume that the limitation is on the Salesforce APIs. Would exclusively using one of the Bulk or SOAP APIs be able to resolve the issue? Or is there an internal parameter that could be enabled on either of the Salesforce endpoints which would allow visibility/filtering on the IsArchived field?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nak&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 23:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicating-Salesforce-Archived-Data/m-p/2112074#M7197</guid>
      <dc:creator>NakulanR</dc:creator>
      <dc:date>2023-08-31T23:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Replicating Salesforce Archived Data</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicating-Salesforce-Archived-Data/m-p/2112666#M7221</link>
      <description>&lt;P&gt;Hello Nak&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144275"&gt;@NakulanR&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out!&lt;/P&gt;
&lt;P&gt;There are some changes (below sample is based on Replicate 2023.5):&lt;/P&gt;
&lt;P&gt;1- The Boolean fields are visible in GUI and can be replicated to target side now&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (In the old versions these fields are invisible).&amp;nbsp; A sample screen shot:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1693793422968.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/115619i8A6D3BA0CB1AAD8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1693793422968.png" alt="john_wang_0-1693793422968.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2- However in this version the "&lt;SPAN&gt;Fullload Passthru Filter" is ignored still (see above screen shot), Replicate does not replicate the rows with "IsDeleted = 1" and/or "IsArchived= 1". This is implicit Query Behavior and I'm afraid there is no way to change it at present. Please raise Feature Request if you need it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Comparison between SOQL include "Deleted and archived records" and Replicate SQL, SOQL shows the IsDeleted row (the latest line of the result set):&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1693793818944.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/115620i3B42A669D67A276E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1693793818944.png" alt="john_wang_1-1693793818944.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From Replicate endpoint server log file we see the last row is implicitly filtered out (we got 5 lines instead of 6 lines data):&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;qtp391254696-1512 2023-09-04 09:33:38.807 [sourceunload ] [VERBOSE] [] Unload 'Task' using SOAP API. Executing SELECT query: '&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;SELECT Id, Subject, IsDeleted, IsArchived FROM Task&lt;/FONT&gt;&lt;/STRONG&gt;'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;qtp391254696-1512 2023-09-04 09:33:38.807 [sourceunload ] [VERBOSE] [] ENTER: SoapAPIConnection.querySF: SELECT Id, Subject, IsDeleted, IsArchived FROM Task&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;qtp391254696-1512 2023-09-04 09:33:40.400 [sourceunload ] [TRACE ] [] Query returned 5 objects, query: SELECT Id, Subject, IsDeleted, IsArchived FROM Task&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;qtp391254696-1512 2023-09-04 09:33:40.400 [sourceunload ] [VERBOSE] [] Query executed: SELECT Id, Subject, IsDeleted, IsArchived FROM Task&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;qtp391254696-1512 2023-09-04 09:33:40.400 [sourceunload ] [VERBOSE] [] &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;The query result 5 record(s)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;qtp391254696-1512 2023-09-04 09:33:40.400 [sourceunload ] [TRACE ] [] Table 'Task': Sent 5 records.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;BTW, the behavior is irrelevant to&amp;nbsp;&lt;SPAN&gt;Bulk or SOAP APIs&amp;nbsp;versions etc.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 02:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicating-Salesforce-Archived-Data/m-p/2112666#M7221</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-09-04T02:25:31Z</dc:date>
    </item>
  </channel>
</rss>

