title: How to map data from two flowfiles using apache-nifi
body: <p>I have two apache-nifi flows. One taken from database and other coming from flowfile.</p>
  
  <p>Taken from <code>QueryDatabaseTableRecord</code> processor. :</p>
  
  <pre><code>lat,long,location
  232,3454,colombo
  454,8834,kandy
  438,94,galle
  </code></pre>
  
  <p>In my flowfile I have <code>lat</code> and <code>long</code> columns. What I want is compare <code>lat</code>, and <code>long</code> coming from two flows and if its match, add a new column to flowfile as <code>location</code></p>
  
  <p>The problem I am having is that(to use <code>ExecuteScript</code>), how to get values from both flows as they have identical names?</p>
  
  <p>Or is there a way to use another processor to do this?</p>