<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Gary,<br />
<br />
As I know ICF&ConnId connectors don’t have any logic about that. Connectors just provide data. So it’s resource configuration issue (or data). Try to dig a bit into this way. Were AD objects skipped when you run a task?</div>
</div>
<div name="messageSignatureSection"><br />
<div class="matchFont">–––<br />
Dmitry Berezkin</div>
</div>
<div name="messageReplySection">7 нояб. 2023 г., 21:31 +0300, Maxwell, Gary <Maxwell_G@fortlewis.edu>, писал:<br />
<blockquote type="cite" style="border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;">
<div class="WordSection1">
<p class="MsoNormal">Hi Dmitriy,</p>
<p class="MsoNormal">It is not working in the synchronization object or in the reaction. I am able to add conditions on other resources, It is only the AdLdap connector that seems to have this problem.</p>
<p class="MsoNormal">-Gary</p>
<p class="MsoNormal"> </p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Dmitriy Berezkin <berezkin.dmitriy@gmail.com><br />
<b>Sent:</b> Tuesday, November 7, 2023 11:19 AM<br />
<b>To:</b> midpoint@lists.evolveum.com; midPoint General Discussion <midpoint@lists.evolveum.com><br />
<b>Cc:</b> Maxwell, Gary <Maxwell_G@fortlewis.edu><br />
<b>Subject:</b> Re: [midPoint] Ldap connector objectSynchronization conditions not executing</p>
</div>
</div>
<p class="MsoNormal"> </p>
<div name="messageBodySection">
<div>
<p class="MsoNormal">Hi Gary!<br />
<br />
I’m not sure that it’s possible to use condition into reaction. Condition works for whole syncronization object. Please, check this resource as example: <a href="https://github.com/Evolveum/midpoint-samples/blob/98fcbc8ddf72c5c4a331c528a8dcaf1f2272f96f/samples/stories/multitenant-idm-saas/resources/openldap-customers.xml#L735" target="_blank">https://github.com/Evolveum/midpoint-samples/blob/98fcbc8ddf72c5c4a331c528a8dcaf1f2272f96f/samples/stories/multitenant-idm-saas/resources/openldap-customers.xml#L735</a></p>
</div>
</div>
<div name="messageSignatureSection">
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">–––<br />
Dmitry Berezkin</p>
</div>
</div>
<div name="messageReplySection">
<p class="MsoNormal">7 нояб. 2023 г., 20:57 +0300, Maxwell, Gary via midPoint <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>>, писал:<br />
<br /></p>
<blockquote style="border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 8.0pt;margin-left:3.75pt;margin-top:3.75pt;margin-right:3.75pt;margin-bottom:3.75pt">
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hello All,</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Can anyone explain how com.evolveum.polygon.connector.ldap.ad.AdLdapConnector v3.3 resource performs “unmatched”, “linked” and “unlinked” processing however does not execute the code within the condition tags?</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;text-autospace:none"><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">   </span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;text-autospace:none"><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808"><</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">resource</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;text-autospace:none"><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808"><</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">synchronization</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;text-autospace:none"><span style="color:black"> </span> <span style="font-size:10.0pt;font-family:"Times New Roman",serif;color:#080808">  </span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808"><</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">objectSynchronization</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;text-autospace:none"><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">…….<br />
<</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">reaction</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><br />
    <</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">situation</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">>unmatched</</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">situation</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><br />
    <</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">synchronize</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">>true</</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">synchronize</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><br />
    <</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">action</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><br />
        <</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">handlerUri</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus%3C/handlerUri">http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri</a>><br />
    </</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">action</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><br />
    <</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">condition</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><br />
        <</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">script</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><br />
            <</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">code</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><span style="background:#EDFCED"><br />
                log.info("executing unmatched")<br />
                return true<br />
            </span></</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">code</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><br />
        </</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">script</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><br />
    </</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">condition</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><br />
</</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">reaction</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;text-autospace:none"><span style="font-size:10.0pt;font-family:"Times New Roman",serif;color:#080808">  </span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808"></</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">objectSynchronization</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><br />
    </</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">synchronization</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">><br />
</</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#0033B3">resource</span><span style="font-size:10.0pt;font-family:"JetBrains Mono";color:#080808">></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Any thoughts?</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks Gary</p>
</div>
<p class="MsoNormal">_______________________________________________<br />
midPoint mailing list<br />
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br />
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a></p>
</blockquote>
</div>
</div>
</blockquote>
</div>
</body>
</html>