[midPoint] Live sync works but it doesn't reconcile

Hsin-Fang Hsu hsin-fang.hsu at itconcepts.ch
Tue Aug 3 16:44:50 CEST 2021


Dear all,

I set up a Live synchronization task for a resource. Whenever the value in the resource changes, I want to reconcile the user (i.e., execute the attribute script in the resource schemaHandling).

I made <reconcile> “true” in the resource <objectSynchronization>.
The live synchronization works well. But it never enters the attribute script.

Did I do something wrong?
Thank you very much for your help in advance.


Best regards,
Hsin-Fang


Below I paste two scripts:

  1.  resource synchronization
  2.  one of the attribute in schemaHandling


  1.  resource synchronization
<synchronization>
    <objectSynchronization>
        <objectClass>AccountObjectClass</objectClass>
        <kind>account</kind>
        <intent>default</intent>
        <enabled>true</enabled>
        <correlation>
            <q:equal xmlns="">
                <q:path xmlns:c=http://midpoint.evolveum.com/xml/ns/public/common/common-3>c:name</q:path>
                <expression xmlns="">
                    <path xmlns:ri=http://midpoint.evolveum.com/xml/ns/public/resource/instance-3>
                        declare namespace
                        icfs=http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3;
                        $account/attributes/ri:matricule
                    </path>
                </expression>
            </q:equal>
        </correlation>
        <reconcile>true</reconcile>
        <reaction>
            <situation>linked</situation>
            <synchronize>true</synchronize>
            <reconcile>true</reconcile>
        </reaction>
        <reaction>
            <situation>deleted</situation>
            <synchronize>true</synchronize>
            <reconcile>true</reconcile>
            <action>
                <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</handlerUri>
            </action>
        </reaction>
        <reaction>
            <situation>unlinked</situation>
            <synchronize>true</synchronize>
            <reconcile>true</reconcile>
            <action>
                <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri>
            </action>
        </reaction>
        <reaction>
            <situation>unmatched</situation>
            <synchronize>true</synchronize>
            <reconcile>true</reconcile>
            <action>
                <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri>
            </action>
        </reaction>
    </objectSynchronization>
</synchronization>


  1.  one of the attribute in schemaHandling :
[cid:image001.png at 01D78886.F45C3DC0]


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20210803/1c319846/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 145113 bytes
Desc: image001.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20210803/1c319846/attachment-0001.png>


More information about the midPoint mailing list