title: Drools Workbench - Compare common attribute from different objects
body: <p>Does anyone know how to add a condition on drools workbench for comparing attributes with the same name but from different objects (like their IDs) ?</p>
  
  <p><a href="https://i.stack.imgur.com/HsQm2.png" rel="nofollow noreferrer">Workbench screenshot</a></p>
  
  <p>What I want to add is a 3rd condition like "l.ID = o.ID". If the facts do not have the same ID, it does not print "login". I cannot find a way to do it.</p>
  
  <p>Any help will be appreciated.</p>
  
  <p>Cheers,</p>