title: enrich one JSON array with data from another based on multiple conditions using dataweave 2.0
body: <p>Recently, I asked <a href="https://stackoverflow.com/questions/63962419/filter-and-merge-two-arrays-with-comparison-based-on-two-or-more-columns-in-data/63963154?noredirect=1#comment113487377_63963154">this</a> question about filter and merge two JSONs based on multiple conditions.</p>
  <p>However, now I need <code>mongo</code> variable to be enriched with <code>mysql</code> variable data. If conditions</p>
  <pre><code>mongo.NUM_CONTROL = mysql.DOCNUM
  mongo.NUM_ITEM = mysql.LIN_NUM_ITEM
  </code></pre>
  <p>do not match, each mongo element stays the same. But if they match, each <code>mongo</code> element must be enriched with <code>mysql</code> equivalent item.</p>