title: HCI XmlSlurper Groovy find not found job_information records in same date
body: <p>I need to find a record with event Hire in job_information.</p>
  
  <pre><code>def Message processData(Message message) {
  
  //Get body from message 
  def body = message.getBody(java.lang.String)
  //Parse body
  def queryCompoundEmployeeResponse = new XmlSlurper().parseText(body)
  
  queryCompoundEmployeeResponse.CompoundEmployee.each{
    it.person.employment_information.each{
      def startDate = it.job_information.find{
        j-&gt;(j.event.text() == 'H') 
      }.start_date.text()
    }
  }
  </code></pre>
  
  <p>However, for this employee, there are 2 records at the same date.
  And the find function return nothing.</p>
  
  <p>Anyone know how to solve this issue?</p>
  
  <p><a href="https://i.stack.imgur.com/tdGaV.png" rel="nofollow noreferrer">2 records at the same date image</a></p>