<div dir="ltr">It looks like there is no difference in processing if we declare the delete situation with unlinking explicitly or we skip declaration of this situation.<div>I couldn't find any reference to processing of the situation in the audit log as well as in operationExecution data.</div><div>I use mp4.4.3   <br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 3 May 2023 at 20:14, Pavol Mederly via midPoint <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>I am surprised myself that I didn't describe it in the docs.<br>
    </p>
    <p>Only <a href="https://github.com/Evolveum/docs/blob/6d6c8806d4f6e0c3cf466eaa58b5a94a6c135eea/midpoint/release/4.3.2/index.adoc#L393-L396" target="_blank">https://github.com/Evolveum/docs/blob/6d6c8806d4f6e0c3cf466eaa58b5a94a6c135eea/midpoint/release/4.3.2/index.adoc#L393-L396</a></p>
    <p>And commit msg here: <a href="https://github.com/Evolveum/midpoint/commit/3a0f17aa" target="_blank">https://github.com/Evolveum/midpoint/commit/3a0f17aa</a>.</p>
    <p>As for the audit, the change in linkRef should be audited. But
      it's normally hidden, as that item is considered operational. I
      think that the GUI has an option to display also operational items
      changes.</p>
    <p>Best regards,<br>
    </p>
    <pre cols="72">-- 
Pavol Mederly
Software developer
<a href="http://evolveum.com" target="_blank">evolveum.com</a></pre>
    <div>On 03/05/2023 17:58, Yakov Revyakin via
      midPoint wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi Pavol,<br>
        <div>Correct - the linkRef has relation="org:related"<br>
          I was waiting to see something related in the audit log. There
          is nothing about processing the 'deleted' situation. </div>
        <div>So all these things are expected behavior?</div>
        <div><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, 3 May 2023 at 18:36,
          Pavol Mederly via midPoint <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello
          Yakov,<br>
          <br>
          if it's dead and the linkRef has relation="org:related", then
          it's OK. <br>
          It is effectively unlinked.<br>
          <br>
          (You may play with how long the dead shadows should remain
          there; please <br>
          see the docs. However, even if you set the time to 0, midPoint
          will not <br>
          guarantee immediate removal of such shadows.)<br>
          <br>
          Best regards,<br>
          <br>
          -- <br>
          Pavol Mederly<br>
          Software developer<br>
          <a href="http://evolveum.com" rel="noreferrer" target="_blank">evolveum.com</a><br>
          <br>
          On 03/05/2023 17:34, Yakov Revyakin via midPoint wrote:<br>
          > Hi all,<br>
          > I'm stuck with the simplest thing. Please, help.<br>
          > I use CSV resource and add processing of deleted
          accounts. I'm <br>
          > deleting an appropriate row in CSV file, running
          reconciliation and <br>
          > have the shadow dead instead of unlinked. What's wrong?<br>
          ><br>
          > <reaction><br>
          >     <situation>deleted</situation><br>
          >     <action><br>
          >         <br>
          > <handlerUri><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink" rel="noreferrer" target="_blank">http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</a></handlerUri><br>
          >     </action><br>
          > </reaction><br>
          ><br>
          ><br>
          > _______________________________________________<br>
          > midPoint mailing list<br>
          > <a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
          > <a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
          _______________________________________________<br>
          midPoint mailing list<br>
          <a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
          <a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div>