<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>I have a situation that is similar, though perhaps not quite the
      same, where one of my source systems has multiple accounts for
      some users. In my case there primary and secondary accounts for
      some users, and then sometimes accounts can be considered
      inactive. I used the method discussed here <a href="https://wiki.evolveum.com/display/midPoint/Multiaccounts+HOWTO">https://wiki.evolveum.com/display/midPoint/Multiaccounts+HOWTO</a>
      to create tagged shadows for each of the accounts, then in
      schemahandling I select the primary account record to store in a
      user attribute that I use later in correlation.</p>
    <p>I can share some config snippets if the multiaccount approach
      sounds useful.</p>
    <p>Thanks,</p>
    <p>Ethan<br>
    </p>
    <div class="moz-cite-prefix">On 10/20/20 2:57 PM, Gus Lou via
      midPoint wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CA+XZjGQaeUszkACom5+kFKWUAT5dhjaHRV9kiRghjWWW+SLo6A@mail.gmail.com">
      
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">Hi Guys
            <div><br>
            </div>
            <div>
              <div>Has anyone here ever had to deal with unique
                attributes (dupplicate) from the HR base?</div>
              <div>I explain, in my human resources system the same
                person can have more than one record, with the status of
                hired and fired.</div>
              <div>When I run the synchronization task, the MP displays
                the error of unique attribute value 111.111 is not
                unique in Data.csv</div>
              <div>I would like to apply some kind of filter to process
                only the record with hired status in case of duplicate
                records.</div>
            </div>
            <div><br>
            </div>
            <div>
              <div>I am studying the information on Correlation
                Expression to try to achieve this goal</div>
              <div><a href="https://wiki.evolveum.com/display/midPoint/Correlation+and+Confirmation+Expressions" moz-do-not-send="true">https://wiki.evolveum.com/display/midPoint/Correlation+and+Confirmation+Expressions</a></div>
            </div>
            <div><br>
            </div>
            <div>Best Regards</div>
            <div><br>
            </div>
            <div>Gus</div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
  </body>
</html>