<?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: Qlik Replicate - can we create different runtime folder for change tables based on tasks run time in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2515517#M14207</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;The expression worked for me as well in the initial run.&lt;/P&gt;
&lt;P&gt;BUT&lt;/P&gt;
&lt;P&gt;Will a new folder be created for&amp;nbsp;&lt;STRONG&gt;next hour&amp;nbsp;run?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;LIKE--&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CDC stages&amp;nbsp;--&amp;nbsp;KIT/2025/04/23/&lt;STRONG&gt;21&lt;/STRONG&gt;_ct&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;And for next day run?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CDC stages&amp;nbsp;--&amp;nbsp;KIT/2025/04/&lt;STRONG&gt;24&lt;/STRONG&gt;/11_ct&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;otherwise, does Change table has to be same for all future runs?&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;Because as per requirement, there is need to run the task at a 6-hour interval. so will be stopping and resuming the task and will have different hour value.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2025 16:33:06 GMT</pubDate>
    <dc:creator>TNJ</dc:creator>
    <dc:date>2025-04-23T16:33:06Z</dc:date>
    <item>
      <title>Qlik Replicate - can we create different runtime folder for change tables based on tasks run time</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2515457#M14199</link>
      <description>&lt;P&gt;I'm trying to replicate data from source (Oracle) to target (S3). While replicating, I'd like to make the 'Change table' name/location based upon required file creation time like below FORMAT:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;TABLENAME/YEAR/MONTH/DAY/HOUR&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;with&amp;nbsp;YEAR/MONTH/DAY/HOUR coming from replication task runtime.&lt;BR /&gt;&lt;BR /&gt;I'm able to create required S3 location the&amp;nbsp;&lt;STRONG&gt;first-time tasks run&lt;/STRONG&gt;&amp;nbsp;for Change table using the Global Rules transformation with expression:&lt;/P&gt;
&lt;P&gt;Transformation Rule - Rename Change Table with expression:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;'/'||$AR_M_SOURCE_TABLE_NAME||'/'||strftime('%Y',DATE())||'/'||strftime('%m',DATE())||'/'||strftime('%d',DATE())||'/'||strftime('%H',TIME())&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;example -- TABLENAME/2025/04/22/14&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;which is successfully being created the first time, but as soon as the&lt;STRONG&gt;&amp;nbsp;time (date or hour) changes for incremental updates from source, error is generated: for the new folder path&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;"&lt;STRONG&gt;Getting DB object (''S3'.'dbo'.'/TABLENAME/2025/04/23/09'') info from repository failed.&lt;BR /&gt;Error finding object: 'S3'.'/TABLENAME/2025/04/23/09' in repository"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;---------&lt;/P&gt;
&lt;P&gt;In short,&amp;nbsp;is there a way to have different Change tables based on change files creation time?&lt;/P&gt;
&lt;P&gt;Or we can't change the target change table name/location created in the initial task run?&lt;/P&gt;
&lt;P&gt;Just want to be sure, can we achieve this functionality through Qlik Replicate?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 14:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2515457#M14199</guid>
      <dc:creator>TNJ</dc:creator>
      <dc:date>2025-04-23T14:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate - can we create different runtime folder for change tables based on tasks run time</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2515494#M14202</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/329308"&gt;@TNJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out!&lt;/P&gt;
&lt;P&gt;The expression works for me, both the Full Load and CDC stages generated correct file path and files, see results of task "Ora-to-S3":&lt;/P&gt;
&lt;DIV id="tinyMceEditor_57b6a813610cffjohn_wang_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Full Load stage:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1745421434197.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179857iEF74C046A51C643B/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_0-1745421434197.png" alt="john_wang_0-1745421434197.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;CDC stage:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1745421464018.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179858i6391F06755C36B6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_1-1745421464018.png" alt="john_wang_1-1745421464018.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please take note that,&amp;nbsp;&lt;STRONG&gt;$AR_M_SOURCE_TABLE_NAME&lt;/STRONG&gt;&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://help.qlik.com/en-US/replicate/November2024/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_expBuildMath.htm#:~:text=With%20the%20exception,FIRST_NAME%7C%7CLAST_NAME" target="_blank" rel="noopener"&gt;must be preceded by a space and followed by a space&lt;/A&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So the complete expression of the Global Transformation rule is:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="H100W100 preProductWizardSummary ng-binding"&gt;Rename table
	for %.%
	to '/'|| $AR_M_SOURCE_TABLE_NAME ||'/'||strftime('%Y',DATE())||'/'||strftime('%m',DATE())||'/'||strftime('%d',DATE())||'/'||strftime('%H',TIME()) &lt;/PRE&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 15:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2515494#M14202</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-04-23T15:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate - can we create different runtime folder for change tables based on tasks run time</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2515517#M14207</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;The expression worked for me as well in the initial run.&lt;/P&gt;
&lt;P&gt;BUT&lt;/P&gt;
&lt;P&gt;Will a new folder be created for&amp;nbsp;&lt;STRONG&gt;next hour&amp;nbsp;run?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;LIKE--&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CDC stages&amp;nbsp;--&amp;nbsp;KIT/2025/04/23/&lt;STRONG&gt;21&lt;/STRONG&gt;_ct&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;And for next day run?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CDC stages&amp;nbsp;--&amp;nbsp;KIT/2025/04/&lt;STRONG&gt;24&lt;/STRONG&gt;/11_ct&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;otherwise, does Change table has to be same for all future runs?&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;Because as per requirement, there is need to run the task at a 6-hour interval. so will be stopping and resuming the task and will have different hour value.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 16:33:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2515517#M14207</guid>
      <dc:creator>TNJ</dc:creator>
      <dc:date>2025-04-23T16:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate - can we create different runtime folder for change tables based on tasks run time</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2516386#M14253</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/329308"&gt;@TNJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Would you please open support ticket?&amp;nbsp; Our support team will be more than happy to assist you.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 01:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2516386#M14253</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-05-01T01:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate - can we create different runtime folder for change tables based on tasks run time</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2516575#M14255</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;,&amp;nbsp;have raised the ticket and got an update.&lt;BR /&gt;&lt;BR /&gt;The change table once created can't be changed or updated/renamed.&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2025 08:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2516575#M14255</guid>
      <dc:creator>TNJ</dc:creator>
      <dc:date>2025-05-04T08:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate - can we create different runtime folder for change tables based on tasks run time</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2516591#M14256</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/329308"&gt;@TNJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;That behavior is expected, as the table name was generated once during task startup. What happens if you stop and then resume the task? We may need to find a way to force Replicate to regenerate the table path and name.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 02:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-can-we-create-different-runtime-folder-for-change/m-p/2516591#M14256</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-05-05T02:49:41Z</dc:date>
    </item>
  </channel>
</rss>

