title: Talend ETL - Extract new records being inserted into the table
body: <p><a href="https://i.stack.imgur.com/2EnXN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2EnXN.png" alt="enter image description here"></a>Hi,</p>
  
  <p>I have created a Talend ETL job which uses a query to a tmap to insert records into a table called "loan_grouping". I am using a lookup in the tmap to the "loan_grouping" table to pull through already existing records.</p>
  
  <p>What I need is a way to extract only the newly created and inserted records. I have found guides online which show how to pull the rejected records using the Catch lookup inner join reject option in the tmap - but I need the opposite - I need to show the successful records.</p>
  
  <p>The expression I have used in the tmap is:</p>
  
  <pre><code>!row1.GROUP_REFERENCE.equals(row3.GROUP_REFERENCE) 
  </code></pre>
  
  <p>But it still only gives me the rejected records. I've also attached a couple of screenshots. If anyone can help, I'd be really grateful!</p>