<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    There is nothing wrong in deleting the row from the table. The
    situation will be evaluated as DELETED, but not for LiveSync +
    DBTable connector. You will need reconciliation task for that.<br>
    <br>
    In my case I have setup livesync for (OpenLDAP) resource to detect
    new and updates accounts, and a daily reconciliation task to
    evaluate DELETED situation.<br>
    <br>
    As the DBTable connector fetches changes by doing SELECT and
    searching for any record newer/changed after specific time, it will
    not get any deleted ones.<br>
    <br>
    The other way of doing this is not using DELETED situation at all,
    instead mark the rows as "deleted" by some column/attribute, and
    process this as update from the account. In the inbound expression
    of that resource or in template you can do anything you want. For
    example the activation/administrativeStatus attribute can reflect
    this.. or you can pass the information to some (e.g. extension) user
    attribute in midPoint and object template can assign the roles
    according to that...<br>
    <br>
    Regards,<br>
    Ivan<br>
    <br>
    <div class="moz-cite-prefix">On 05/09/2016 02:37 PM, Marco Benucci
      (Consulente) wrote:<br>
    </div>
    <blockquote
cite="mid:A4994DE4207E4C4C863AA609465D52233EE81F58@MISEEX04.risorse.mise"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Ahhh...<br>
            didn’t see this in the documentation, I suppose...<br>
            <br>
            I completely remove the row from the table, and this is not
            the correct way to use it, am I wrong?<br>
            <br>
            How should I detect a deleted account in the correct way?<o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
  Ing. Ivan Noris
  Senior Identity Management Engineer & IDM Architect
  evolveum.com                     evolveum.com/blog/
  ___________________________________________________
  "Semper ID(e)M Vix."
</pre>
  </body>
</html>