<?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: Can we approve Commit or Rollback in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286567#M60189</link>
    <description>&lt;P&gt;Well it looks good by reading the description of the solution. However, since I am pretty new to Talend, I don't know how to go about it. Any similar/samle job which I can refer?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2017 13:02:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-20T13:02:46Z</dc:date>
    <item>
      <title>Can we approve Commit or Rollback</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286564#M60186</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;One of my client's requirements is that if we put some auto fix validations like name.replaceall() etc. in some data transformation step, then he should be able&amp;nbsp;to visually see all data errors that were fixed automatically so that he can&amp;nbsp;approve and/or reject and/or rollback.&lt;/P&gt;&lt;P&gt;Will this be possible to achieve?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 10:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286564#M60186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-20T10:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can we approve Commit or Rollback</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286565#M60187</link>
      <description>&lt;P&gt;Never tried, but I think it could be done with this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tOracleInput --&amp;gt; tMap --&amp;gt; tFlowToIterate --&amp;gt; (iterate) --&amp;gt; tMessageBox&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--&amp;gt; (if Yes) --&amp;gt; Commit&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--&amp;gt; (if No) --&amp;gt; Rollback&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The tMessageBox should have options Yes/No and could contain the modified record that needs to be approved.&lt;/P&gt;
&lt;P&gt;The If statement should look like:&amp;nbsp;((String)globalMap.get("tMsgBox_1_RESULT")).equals("0")&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where 0== Yes and 1 ==No&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 10:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286565#M60187</guid>
      <dc:creator>Aukema</dc:creator>
      <dc:date>2017-06-20T10:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can we approve Commit or Rollback</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286566#M60188</link>
      <description>&lt;P&gt;To build this kind of a system, ideally you would want to push the corrected records to a table where you maintain a additional column for flagging approved, rejected or rollback records.&lt;/P&gt;
&lt;P&gt;If the client wants to view the data visually, then you may have to build a UI on top of the table or see if you can use Talend's native MDM UI.&lt;/P&gt;
&lt;P&gt;I don't think you should use Talend's messaging or logging components to display data to the client esp. when the load is in progress.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 12:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286566#M60188</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-20T12:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can we approve Commit or Rollback</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286567#M60189</link>
      <description>&lt;P&gt;Well it looks good by reading the description of the solution. However, since I am pretty new to Talend, I don't know how to go about it. Any similar/samle job which I can refer?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 13:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286567#M60189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-20T13:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can we approve Commit or Rollback</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286568#M60190</link>
      <description>&lt;P&gt;What you're describing is two-stage load process. &amp;nbsp;While we don't have all the parameters here, my assumptions line up with&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLw1AAG"&gt;@ArvinRapt&lt;/A&gt;&amp;nbsp;in that you'll likely want to stage your data in a table, provide a means to review changes, then provide a mechanism to push out approved changes. &amp;nbsp;This scenario would not be a single Talend job, but several tasks orchestrated into a process. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 17:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286568#M60190</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-06-20T17:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can we approve Commit or Rollback</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286569#M60191</link>
      <description>&lt;P&gt;Ya you are right in the sense that it would be a 2-stage process. I can store the data in a staging table alright but how to as you said&lt;SPAN&gt;&amp;nbsp;'provide a mechanism to push out approved changes.' I cannot envision of this job design because of my very limited exposure to the tool.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks anyways for your answer. Let's see if I get more insights on this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 06:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286569#M60191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-21T06:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can we approve Commit or Rollback</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286570#M60192</link>
      <description>&lt;P&gt;There's couple of ways to do this.&lt;/P&gt; 
&lt;P&gt;1. Assuming you are going to build a UI on top of the staging table, you can have a web app that runs the UI&amp;nbsp;update the flag column in the staging table as&amp;nbsp;'approved'. Then once the user clicks on a button in the UI, the web app should trigger the Talend job using the TAC api that would push all the records in staging table with flag as 'approved' to the target table.&lt;/P&gt; 
&lt;P&gt;2. If there are no plans for a UI, then we need to figure out how to 'show' the data to the client. Is the client comfortable with viewing the data in the database directly and updating the flag manually? &amp;nbsp;Or will you be sending a flat file to the client which can then be used as an input for another talend job.&amp;nbsp;&lt;BR /&gt;I think these are design decisions that need to be finalised before we can come up with the actual talend job design.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 07:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286570#M60192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-21T07:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we approve Commit or Rollback</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286571#M60193</link>
      <description>&lt;P&gt;Ok. Thanks for the reply.&lt;/P&gt;
&lt;P&gt;Shall update on this regarding the strategy to be followed.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 08:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286571#M60193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-21T08:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can we approve Commit or Rollback</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286572#M60194</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLw1AAG"&gt;@ArvinRapt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Of the two strategies you told, the 2nd one seems feasible to me. But first I want to know that how to know which columns were auto fixed by some rule out of say 100 records? (which we will put in some staging table). Then the client can see and then mark manually let's say is Approved column and then we can use it as input to another Job which will put it in Production table. Kindly suggest.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 12:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286572#M60194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-23T12:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can we approve Commit or Rollback</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286573#M60195</link>
      <description>&lt;P&gt;First thing that came to my mind was that you could use tJavaRow component to check if the value has changed after you applied the fix.&lt;/P&gt; 
&lt;P&gt;So you would need to store the result of the fixed value in a temporary variable and compare it with the incoming value to see if it has changed.&lt;/P&gt; 
&lt;P&gt;It would look something like this,&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 855px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Luxy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140422iB076749446734B33/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Luxy.png" alt="0683p000009Luxy.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I think the screenshot does a better job of explaining things. Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2017 13:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-we-approve-Commit-or-Rollback/m-p/2286573#M60195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-23T13:38:08Z</dc:date>
    </item>
  </channel>
</rss>

