<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"JetBrains Mono";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:438188453;
        mso-list-type:hybrid;
        mso-list-template-ids:1634227736 1783383014 536870937 536870939 536870927 536870937 536870939 536870927 536870937 536870939;}
@list l0:level1
        {mso-level-text:"\(%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:908618838;
        mso-list-type:hybrid;
        mso-list-template-ids:1634227736 1783383014 536870937 536870939 536870927 536870937 536870939 536870927 536870937 536870939;}
@list l1:level1
        {mso-level-text:"\(%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l2
        {mso-list-id:1269046431;
        mso-list-type:hybrid;
        mso-list-template-ids:-1759505178 1509481078 536870937 536870939 536870927 536870937 536870939 536870927 536870937 536870939;}
@list l2:level1
        {mso-level-text:"\(%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l2:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l2:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="en-CH" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Dear all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">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).
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">I made <reconcile> “true” in the resource <objectSynchronization>.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">The live synchronization works well. But it never enters the attribute script.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Did I do something wrong?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Thank you very much for your help in advance.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Hsin-Fang<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt">Below I paste two scripts:
<o:p></o:p></span></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1"><span lang="EN-US" style="font-size:14.0pt">resource synchronization<o:p></o:p></span></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1"><span lang="EN-US" style="font-size:14.0pt">one of the attribute in schemaHandling
<o:p></o:p></span></li></ol>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><o:p> </o:p></span></p>
<ol style="margin-top:0in" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l2 level1 lfo2"><span lang="EN-US" style="font-size:14.0pt">resource synchronization<o:p></o:p></span></li></ol>
<p class="MsoNormal" style="background:#2B2B2B;text-autospace:none"><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"><synchronization><br>
    <objectSynchronization><br>
        <objectClass></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">AccountObjectClass</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></objectClass><br>
        <kind></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">account</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></kind><br>
        <intent></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">default</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></intent><br>
        <enabled></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">true</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></enabled><br>
        <correlation><br>
            <</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#9876AA">q</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A">:equal
</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#BABABA">xmlns</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#6A8759">=""</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A">><br>
                <</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#9876AA">q</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A">:path
</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#BABABA">xmlns:</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#9876AA">c</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#6A8759">=<a href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A">></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">c:name</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#9876AA">q</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A">:path><br>
                <expression </span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#BABABA">xmlns</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#6A8759">=""</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A">><br>
                    <path </span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#BABABA">xmlns:</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#9876AA">ri</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#6A8759">=<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A">><br>
                        </span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">declare namespace<br>
                        icfs=<a href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3</a>;<br>
                        $account/attributes/ri:matricule<br>
                    </span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></path><br>
                </expression><br>
            </</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#9876AA">q</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A">:equal><br>
        </correlation><br>
        <reconcile></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">true</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></reconcile><br>
        <reaction><br>
            <situation></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">linked</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></situation><br>
            <synchronize></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">true</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></synchronize><br>
            <reconcile></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">true</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></reconcile><br>
        </reaction><br>
        <reaction><br>
            <situation></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">deleted</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></situation><br>
            <synchronize></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">true</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></synchronize><br>
            <reconcile></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">true</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></reconcile><br>
            <action><br>
                <handlerUri></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6"><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</handlerUri">http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</handlerUri</a></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A">><br>
            </action><br>
        </reaction><br>
        <reaction><br>
            <situation></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">unlinked</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></situation><br>
            <synchronize></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">true</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></synchronize><br>
            <reconcile></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">true</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></reconcile><br>
            <action><br>
                <handlerUri></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6"><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri">http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri</a></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A">><br>
            </action><br>
        </reaction><br>
        <reaction><br>
            <situation></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">unmatched</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></situation><br>
            <synchronize></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">true</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></synchronize><br>
            <reconcile></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6">true</span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A"></reconcile><br>
            <action><br>
                <handlerUri></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#A9B7C6"><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri">http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri</a></span><span style="font-size:9.0pt;font-family:"JetBrains Mono";color:#E8BF6A">><br>
            </action><br>
        </reaction><br>
    </objectSynchronization><br>
</synchronization><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt"><o:p> </o:p></span></p>
<ol style="margin-top:0in" start="2" type="1">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l2 level1 lfo2"><span lang="EN-US" style="font-size:14.0pt">one of the attribute in schemaHandling :<o:p></o:p></span></li></ol>
<p class="MsoNormal"><span style="font-size:14.0pt"><img border="0" width="650" height="554" style="width:6.775in;height:5.7666in" id="Picture_x0020_1" src="cid:image001.png@01D78886.F45C3DC0"></span><span style="font-size:14.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt"><o:p></o:p></span></p>
</div>
</body>
</html>