<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)">
<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:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></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="DE-AT" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hello Yakov,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="mso-fareast-language:EN-US">thank you for your suggestion!
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="mso-fareast-language:EN-US">We managed to solve our issue a day before receiving your advice by including the following XML snippet in the resource as part of the organizationalUnit attribute under SchemaHandling
for account:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt;text-indent:35.4pt"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"><attribute id="120"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <ref>ri:Department</ref><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <displayName>Department</displayName><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <limitations><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <minOccurs>0</minOccurs><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <maxOccurs>1</maxOccurs><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <access><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <read>true</read><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <add>false</add><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <modify>false</modify><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> </access><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> </limitations><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <inbound id="16"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <strength>strong</strength><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <target><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> <path>$focus/organizationalUnit</path><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US">
<span style="background:yellow;mso-highlight:yellow"><set><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";background:yellow;mso-highlight:yellow;mso-fareast-language:EN-US"> <predefined>all</predefined><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";background:yellow;mso-highlight:yellow;mso-fareast-language:EN-US"> </set></span><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> </target><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> </inbound><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-US"> </attribute><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="mso-fareast-language:EN-US">This also fixed our problem and allowed us to replace the Org assignment of the users.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="mso-fareast-language:EN-US">Thanks again for your help and best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-AU" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span lang="DE" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE">Alexander Bruckner</span></b><b><i><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:gray;mso-fareast-language:DE"><o:p></o:p></span></i></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><i><span lang="DE" style="font-size:3.0pt;font-family:"Tahoma",sans-serif;color:gray;mso-fareast-language:DE"><o:p> </o:p></span></i></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><i><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:olive;mso-fareast-language:DE">ventum
</span></i></b><b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:gray;mso-fareast-language:DE">consulting gmbh</span></b><span lang="DE" style="font-size:2.5pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE"><br>
</span><span lang="DE" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE">Ernst-Melchior-Gasse 24, 1020 Wien, Austria<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DA" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE">Telefon: +43 1 535 34 22<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DA" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#7F7F7F;mso-fareast-language:DE">Mobil:
</span><span lang="DA" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE">+43 664 8451338</span><span lang="DA" style="font-size:12.0pt;color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="DA" style="font-size:3.0pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DA" style="font-size:2.5pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE"><br>
</span><span style="mso-fareast-language:#2000"><a href="mailto:alexander.bruckner@ventum.com"><span lang="DA" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0563C1;mso-fareast-language:DE">alexander.bruckner@ventum.com</span></a></span><span lang="DA" style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="mso-fareast-language:#2000"><a href="http://www.ventum-consulting.com/"><span lang="DE" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE">www.ventum.com</span></a></span><span lang="DE" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="DE" style="font-size:2.5pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="DE" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray;mso-fareast-language:DE">Handelsgericht Wien, FN 262373V<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:gray;mso-fareast-language:DE">_________________________________<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE">Von:</span></b><span lang="DE"> Yakov Revyakin <yrevyakin@gmail.com>
<br>
<b>Gesendet:</b> Samstag, 26. März 2022 13:26<br>
<b>An:</b> midPoint General Discussion <midpoint@lists.evolveum.com><br>
<b>Cc:</b> Alexander Bruckner <alexander.bruckner@ventum.com><br>
<b>Betreff:</b> Re: [midPoint] Organization Assignment Update via User Attribute<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">I think object template should include assignment target as the following:<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""><target></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <path>assignment></path></span></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <set></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <predefined>all</predefined></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </set></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""></target></span><o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, 24 Mar 2022 at 10:43, Alexander Bruckner via midPoint <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hello everyone,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU">I have a question regarding some configurations with organizations and users and hoped one of you might be able to help:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU">Our users are read in from a CSV file and have an attribute that shows the organizational ID of their organization e.g. 9921 in the field organizationalUnit,
which is also the name and identifier of the organization object in Midpoint.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU">To automatically assign the organization to the user we use an objectTemplate with this item:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:35.4pt">
<span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""><ref>assignment</ref></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <mapping id="2"></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <strength>strong</strength></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <authoritative>true</authoritative></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <source></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <path>organizationalUnit</path></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </source></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <target></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <set></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <predefined>all</predefined></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </set></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </target></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <expression></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <assignmentTargetSearch></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <targetType>OrgType</targetType></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <filter></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <q:equal></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <q:path>identifier</q:path></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <expression></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <path>$organizationalUnit</path></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </expression></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </q:equal></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </filter></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </assignmentTargetSearch></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </expression></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </mapping></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU">This is referenced in the object Synchronization of the CSV Resource for the user accounts:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""><objectSynchronization></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <name>Default account</name></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <kind>account</kind></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <intent>default</intent></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <enabled>true</enabled></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <correlation></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <q:equal></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <q:path>name</q:path></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <expression></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <path>$projection/attributes/ri:globalID</path></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </expression></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </q:equal></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <q:description></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> Correlation expression is a search query.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> Following search queury will look for users that have "name"</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> equal to the "name" attribute of the account. Simply speaking,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> it will look for match in usernames in the IDM and the resource.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> The correlation rule always looks for users, so it will not match</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> any other object type.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </q:description></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </correlation></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <reconcile>false</reconcile></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <reaction></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <situation>linked</situation></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <synchronize>true</synchronize></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <reconcile>false</reconcile></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <objectTemplateRef oid="1ac7e1d5-c346-46c4-b69e-a13c07b1e7e2" relation="org:default" type="c:ObjectTemplateType"/></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </reaction></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <reaction></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <situation>deleted</situation></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <synchronize>true</synchronize></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <action></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <handlerUri><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink" target="_blank">http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</a></handlerUri></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </action></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </reaction></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <reaction></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <situation>unlinked</situation></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <synchronize>true</synchronize></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <reconcile>false</reconcile></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <objectTemplateRef oid="1ac7e1d5-c346-46c4-b69e-a13c07b1e7e2" relation="org:default" type="c:ObjectTemplateType"/></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <action></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <handlerUri><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#link" target="_blank">http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</a></handlerUri></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </action></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </reaction></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <reaction></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <situation>unmatched</situation></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <synchronize>true</synchronize></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <reconcile>false</reconcile></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <objectTemplateRef oid="1ac7e1d5-c346-46c4-b69e-a13c07b1e7e2" relation="org:default" type="c:ObjectTemplateType"/></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <action></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> <handlerUri><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus" target="_blank">http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</a></handlerUri></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </action></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </reaction></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU" style="font-size:10.0pt;font-family:"Courier New""> </objectSynchronization></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU">The adding of the assignment is working fine, but on a change of the current organization in CSV we would like to remove the old organization assignment and replace
it with the new one. Right now if we change the organization in CSV the old assignment remains and a new one is added.
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU">From my understanding the target -> set -> predefined -> all should resolve this but it still just adds the new organization</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU">Am I missing some configuration in the objectTemplate or is the logic for this somewhere else?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU">If any of you could help us with this it would be greatly appreciated!</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU">Thank you and best regards,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU">Alexander Bruckner</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-AU"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="DE" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:gray">Alexander Bruckner</span></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><i><span lang="DE" style="font-size:3.0pt;font-family:"Tahoma",sans-serif;color:gray"> </span></i></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><i><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:olive">ventum
</span></i></b><b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:gray">consulting gmbh</span></b><span lang="DE" style="font-size:2.5pt;font-family:"Arial",sans-serif;color:gray"><br>
</span><span lang="DE" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray">Ernst-Melchior-Gasse 24, 1020 Wien, Austria</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DA" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:gray">Telefon: +43 1 535 34 22</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DA" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#7F7F7F">Mobil:
</span><span lang="DA" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:gray">+43 664 8451338</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DA" style="font-size:3.0pt;font-family:"Arial",sans-serif;color:gray"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DA" style="font-size:2.5pt;font-family:"Arial",sans-serif;color:gray"><br>
</span><a href="mailto:alexander.bruckner@ventum.com" target="_blank"><span lang="DA" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0563C1">alexander.bruckner@ventum.com</span></a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="http://www.ventum-consulting.com/" target="_blank"><span lang="DE" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray">www.ventum.com</span></a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE" style="font-size:2.5pt;font-family:"Arial",sans-serif;color:gray"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray">Handelsgericht Wien, FN 262373V</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;color:gray">_________________________________</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>