<?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: If status column is updated insert current date in another column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/If-status-column-is-updated-insert-current-date-in-another/m-p/2228048#M19445</link>
    <description>What about the good old tMap and join conditions?
&lt;BR /&gt;You could create a main flow (your probably changed data) and a lookup flow and in the lookup flow you use the key fields + the column (lets call it col2) what changes you want to know.
&lt;BR /&gt;Now create a inner join condition over the key and the col2 and create an output flow with the attribute inner join reject.
&lt;BR /&gt;This output flow now outputs all datasets where the cols (your column to test) has been changed.
&lt;BR /&gt;You could add in this output flow the timestamp column and set as expression: TalendDate.getCurrentDate().</description>
    <pubDate>Sun, 09 Feb 2014 10:05:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-02-09T10:05:11Z</dc:date>
    <item>
      <title>If status column is updated insert current date in another column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/If-status-column-is-updated-insert-current-date-in-another/m-p/2228047#M19444</link>
      <description>Hi, I'm trying to figure out how to design this behaviour 
&lt;BR /&gt;When the value of a status column changes I want to update the lastStatusChange date type column with the current date 
&lt;BR /&gt;I've looked at SCDs, but I don't think this behaviour fits into the types; it's not really a type 3 SCD because I don't want to keep the old value, all I want is the date that the value last changed 
&lt;BR /&gt;Thank You 
&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;</description>
      <pubDate>Fri, 07 Feb 2014 21:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/If-status-column-is-updated-insert-current-date-in-another/m-p/2228047#M19444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-07T21:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: If status column is updated insert current date in another column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/If-status-column-is-updated-insert-current-date-in-another/m-p/2228048#M19445</link>
      <description>What about the good old tMap and join conditions?
&lt;BR /&gt;You could create a main flow (your probably changed data) and a lookup flow and in the lookup flow you use the key fields + the column (lets call it col2) what changes you want to know.
&lt;BR /&gt;Now create a inner join condition over the key and the col2 and create an output flow with the attribute inner join reject.
&lt;BR /&gt;This output flow now outputs all datasets where the cols (your column to test) has been changed.
&lt;BR /&gt;You could add in this output flow the timestamp column and set as expression: TalendDate.getCurrentDate().</description>
      <pubDate>Sun, 09 Feb 2014 10:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/If-status-column-is-updated-insert-current-date-in-another/m-p/2228048#M19445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-09T10:05:11Z</dc:date>
    </item>
  </channel>
</rss>

