<?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: using tCheckpoint in multi thread job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/using-tCheckpoint-in-multi-thread-job/m-p/2250855#M148455</link>
    <description>&lt;P&gt;@Not defined Not defined​&amp;nbsp;, if you want to compare whether two string are equal, use the String1.equals("string2") function replace of "=" in the Java expression, eg:&lt;/P&gt;&lt;P&gt;if(input_row.message.equals("failure")){&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
    <pubDate>Mon, 10 Aug 2020 08:47:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-08-10T08:47:53Z</dc:date>
    <item>
      <title>using tCheckpoint in multi thread job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/using-tCheckpoint-in-multi-thread-job/m-p/2250853#M148453</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am trying to use tCheckpoint (a third party component) in Multi Thread Execution. Attached is a demo job.&lt;/P&gt;&lt;P&gt;&lt;B&gt; Job Description:&lt;/B&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009I9cwAAC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141386i9DEE93D208974A0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009I9cwAAC.png" alt="0693p000009I9cwAAC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I am doing is;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In tPrejob, establishing a DB connection (using Teradata DB).&lt;/LI&gt;&lt;LI&gt;Executing parallel jobs using tCheckpoints with some dummy jobs.&lt;/LI&gt;&lt;LI&gt;From tStatcCatcher, I am looking up for any component with a "failure" message and then setting a key "CP_End" in globalMap to log a value that shows if any of the component suffered a failure and checkpoint file is cleared in tPostJob.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009I9cmAAC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131625i4C5AE20E9C294A4D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009I9cmAAC.png" alt="0693p000009I9cmAAC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;in tPreJob, tJava is just to use an if trigger. In if trigger, "CP_End" is checked for value. if it exists then it means there was some error and checkpoint file is not cleared. In case of flawless execution, checkpoint file is cleared. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009I9crAAC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128981i5A71F9ABBA45814E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009I9crAAC.png" alt="0693p000009I9crAAC.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Issue:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;When I generate an error in tDBInput_1, the job is expected to execute CP2 only and not the rest of sub jobs. However, CP3 gets executed where error is not generated even. Below is demo of such execution.&lt;/P&gt;&lt;P&gt;1- &lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009I9d6AAC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149723i6BE32B24140268CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009I9d6AAC.png" alt="0693p000009I9d6AAC.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;Respective Checkpoint file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009I9dBAAS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148313i5C5588E94214F2F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009I9dBAAS.png" alt="0693p000009I9dBAAS.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2- Re-executing job.&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009I9dLAAS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156800iB195FA2DCFAEAEF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009I9dLAAS.png" alt="0693p000009I9dLAAS.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;An interesting fact is that this job was functioning correctly when I designed it few days ago and I checked all scenarios. I have not changed any configuration since then. I am using TOS 7.21. Any help will be greatly appreciated. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fahad.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 14:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/using-tCheckpoint-in-multi-thread-job/m-p/2250853#M148453</guid>
      <dc:creator>Fahad2</dc:creator>
      <dc:date>2026-01-02T14:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: using tCheckpoint in multi thread job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/using-tCheckpoint-in-multi-thread-job/m-p/2250854#M148454</link>
      <description>&lt;P&gt;Here is the checkpoint status upon re-execution &lt;/P&gt;&lt;P&gt;&amp;nbsp;	Checkpoint1&lt;/P&gt;&lt;P&gt;CP1 Recovery: false&lt;/P&gt;&lt;P&gt;CP1 Execution: false&lt;/P&gt;&lt;P&gt;	Checkpoint2&lt;/P&gt;&lt;P&gt;CP2 Recovery: false&lt;/P&gt;&lt;P&gt;CP2 Execution: false&lt;/P&gt;&lt;P&gt;	Checkpoint3&lt;/P&gt;&lt;P&gt;CP3 Recovery: true&lt;/P&gt;&lt;P&gt;CP3 Execution: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The run if triggers from CPs comprise of &lt;B&gt;&lt;I&gt;((Boolean)globalMap.get("tCheckpoint_xxx_NEEDS_EXECUTION")) &lt;/I&gt;&lt;/B&gt;only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I have used Checkpoints in sequential execution and everything works as per requirement, I am facing trouble only in multi thread execution.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 08:31:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/using-tCheckpoint-in-multi-thread-job/m-p/2250854#M148454</guid>
      <dc:creator>Fahad2</dc:creator>
      <dc:date>2020-08-10T08:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: using tCheckpoint in multi thread job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/using-tCheckpoint-in-multi-thread-job/m-p/2250855#M148455</link>
      <description>&lt;P&gt;@Not defined Not defined​&amp;nbsp;, if you want to compare whether two string are equal, use the String1.equals("string2") function replace of "=" in the Java expression, eg:&lt;/P&gt;&lt;P&gt;if(input_row.message.equals("failure")){&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 08:47:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/using-tCheckpoint-in-multi-thread-job/m-p/2250855#M148455</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-08-10T08:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: using tCheckpoint in multi thread job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/using-tCheckpoint-in-multi-thread-job/m-p/2250856#M148456</link>
      <description>&lt;P&gt;Hi Shong!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have replaced "==" with ".equals", however, I am still facing same issue with checkpoints.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 09:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/using-tCheckpoint-in-multi-thread-job/m-p/2250856#M148456</guid>
      <dc:creator>Fahad2</dc:creator>
      <dc:date>2020-08-10T09:07:21Z</dc:date>
    </item>
  </channel>
</rss>

