[midPoint] Ldap connector objectSynchronization conditions not executing

Dmitriy Berezkin berezkin.dmitriy at gmail.com
Tue Nov 7 19:19:18 CET 2023


Hi Gary!

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: https://github.com/Evolveum/midpoint-samples/blob/98fcbc8ddf72c5c4a331c528a8dcaf1f2272f96f/samples/stories/multitenant-idm-saas/resources/openldap-customers.xml#L735

–––
Dmitry Berezkin
7 нояб. 2023 г., 20:57 +0300, Maxwell, Gary via midPoint <midpoint at lists.evolveum.com>, писал:
> Hello All,
>
> 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?
>
> <resource>
> <synchronization>
>     <objectSynchronization>
> …….
> <reaction>
>     <situation>unmatched</situation>
>     <synchronize>true</synchronize>
>     <action>
>         <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri>
>     </action>
>     <condition>
>         <script>
>             <code>
>                 log.info("executing unmatched")
>                 return true
>             </code>
>         </script>
>     </condition>
> </reaction>
>   </objectSynchronization>
>     </synchronization>
> </resource>
>
>
> Any thoughts?
> Thanks Gary
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231107/0f3fd2c2/attachment-0001.htm>


More information about the midPoint mailing list