<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Markus,</p>
    <p>certainly. All you need to do is to execute a change against a
      shadow object, modifying specified attribute directly. The
      property path to be used is composed from "attributes" and the
      attribute name, e.g. "attributes/dn".</p>
    <p>Best regards,</p>
    <pre class="moz-signature" cols="72">-- 
Pavol Mederly
Interim Chief Product Officer
evolveum.com</pre>
    <div class="moz-cite-prefix">On 23/01/2026 13:12, Markus Calmius via
      midPoint wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:xMpgrOD82GBlKBvxLTMUr3z-1_2TKQvvnWzUuHEL0XR1icS-2oEf1p9sB7m5FPGyrJ6W2LpJ64r9A2ZnWihL3WXTJ8rmD0p-RHVTULV3ZKU=@proton.ch">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div style="font-family: Arial, sans-serif; font-size: 14px;">Hi,</div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"><span>Is
          it possible to create a task or groovy script to modify a
          particular attribute directly on a resource, in the same way
          as when editing a user’s projection? </span><br>
        <span>Even without an outbound mapping, the attribute is updated
          on the resource. I would like to do this via a task/script
          without defining an outbound mapping, so that changes made by
          the resource are not overwritten by midpoint during
          reconciliations.</span><br>
      </div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
      </div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;">Kind
        regards,</div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"><br>
      </div>
      <div style="font-family: Arial, sans-serif; font-size: 14px;"
        class="protonmail_signature_block">
        <div class="protonmail_signature_block-user"> Markus</div>
        <div
class="protonmail_signature_block-proton protonmail_signature_block-empty">
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
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>