<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello Ethan,</p>
    <p>just to clarify: the page you referenced is a (temporary) design
      document. The feature described there materialized into something
      that is called <b>Object marks</b> (in particular, shadow marks
      in 4.7) and can be seen here: <a moz-do-not-send="true"
        href="https://docs.evolveum.com/midpoint/reference/mark/"
        class="moz-txt-link-freetext">https://docs.evolveum.com/midpoint/reference/mark/</a>.</p>
    <p>I am not sure whether/how it applies to the original question.
      Also, shadow marks are primarily to be manually set by an
      administrator; their setting by mapping may or may not be a good
      idea. :)<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Pavol Mederly
Software developer
evolveum.com</pre>
    <div class="moz-cite-prefix">On 29/06/2023 17:05, Ethan Kromhout via
      midPoint wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:036c0cb8-44e7-8c80-5c07-fbbcb26cd3ac@unc.edu">I wonder
      if you could use a mapping to add a tag
      (<a class="moz-txt-link-freetext" href="https://docs.evolveum.com/midpoint/devel/design/simulations/tagging/">https://docs.evolveum.com/midpoint/devel/design/simulations/tagging/</a>)
      based on an attribute. You would have to be on a very recent
      version of midPoint, and I think the native repository is
      required.
      <br>
      <br>
      Ethan
      <br>
      <br>
      On 6/29/23 10:33, Maxwell, Gary via midPoint wrote:
      <br>
      <blockquote type="cite">Thank you for the response Gustav.
        <br>
        <br>
        We also tried adding a condition to the objectSynchronization of
        the resource?
        <br>
        <br>
        The condition checks the value of the user attribute and return
        a true or false condition?
        <br>
        <br>
        This seems to work when we “import” the record into the resource
        however the condition script is not executed when we perform a
        “Reconcile” on the user.
        <br>
        <br>
        We need the condition to execute during an “import” and when a
          “Reconcile” is performed.
        <br>
        <br>
        Can you help us understand why the behavior is different ?
        <br>
        <br>
        -Gary
        <br>
        <br>
        *From:* Pálos Gustáv <a class="moz-txt-link-rfc2396E" href="mailto:gustav.palos@gmail.com"><gustav.palos@gmail.com></a>
        <br>
        *Sent:* Wednesday, June 28, 2023 9:55
        PMhttps://docs.evolveum.com/midpoint/devel/design/simulations/tagging/
        <br>
        *To:* midPoint General Discussion
        <a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a>
        <br>
        *Cc:* Maxwell, Gary <a class="moz-txt-link-rfc2396E" href="mailto:Maxwell_G@fortlewis.edu"><Maxwell_G@fortlewis.edu></a>
        <br>
        *Subject:* Re: [midPoint] Bypass synchronization of a user
        during the reconciliation from a resource
        <br>
        <br>
        Hi,
        <br>
        <br>
        just unlinking the resource is not enough (and condition in
        synchro to never link again)?
        <br>
        <br>
        Or You can put conditions to all resource attribute mappings
        what you don't need to sync.
        <br>
        <br>
        best regards,
        <br>
        <br>
        Gustav
        <br>
        <br>
        st 28. 6. 2023 o 18:24 Maxwell, Gary via midPoint
        <<a class="moz-txt-link-abbreviated" href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>
        <a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><mailto:midpoint@lists.evolveum.com></a>> napísal(a):
        <br>
        <br>
            We would like to disable the synchronization processing of a
        user
        <br>
            depending upon the value of an attribute of the user. What
        would be
        <br>
            the best way to check this attribute of the user and then
        disable
        <br>
            its synchronization during the processing of the resource?
        <br>
        <br>
            Thanks Again,
        <br>
        <br>
            -Gary
        <br>
        <br>
            _______________________________________________
        <br>
            midPoint mailing list
        <br>
            <a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
        <a class="moz-txt-link-rfc2396E" href="mailto:midPoint@lists.evolveum.com"><mailto:midPoint@lists.evolveum.com></a>
        <br>
            <a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
        <br>
           
<a class="moz-txt-link-rfc2396E" href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.evolveum.com%2Fmailman%2Flistinfo%2Fmidpoint&data=05%7C01%7C%7C05f1924325384862d2fc08db78adc743%7C58b3d54f16c942d3af081fcabd095666%7C1%7C0%7C638236460016453058%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FG%2FTm78J1RcO7kRhvcoaPcsimXq9n205l%2BKXzoc53Rw%3D&reserved=0"><https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.evolveum.com%2Fmailman%2Flistinfo%2Fmidpoint&data=05%7C01%7C%7C05f1924325384862d2fc08db78adc743%7C58b3d54f16c942d3af081fcabd095666%7C1%7C0%7C638236460016453058%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FG%2FTm78J1RcO7kRhvcoaPcsimXq9n205l%2BKXzoc53Rw%3D&reserved=0></a><br>
        <br>
        <br>
        -- <br>
        <br>
        s pozdravom
        <br>
        <br>
        Gustáv Pálos
        <br>
        <br>
        <br>
        _______________________________________________
        <br>
        midPoint mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
        <br>
        <a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
        <br>
      </blockquote>
      _______________________________________________
      <br>
      midPoint mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
      <br>
    </blockquote>
  </body>
</html>