<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Lucio,</p>
<p><br>
</p>
<p>the thing is: if you specify the correlation rule AND you also
have set Archetype in the (last page of) object type
configuration, they are used together. Correlation will only match
objects (e.g. users) with that archetype. If the are users which
would match but do not have that archetype, they won't be
considered as candidate owners.</p>
<p><br>
</p>
<p>What is the situation with archetypes in your environment? Is
this particular resource a source or a target resource?</p>
<p>Are there other resources, which create users and assign Person
archetype?</p>
<p>Are there users without Person archetype?</p>
<p><br>
</p>
<p>Best regards,</p>
<p>Ivan</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 3/5/26 12:31, Lucio Fioramonti
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:PA6PR01MB11974202DD35F6115758357A1E17DA@PA6PR01MB11974.eurprd01.prod.exchangelabs.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
class="elementToProof">
Hello Ivan, thank you for the reply. I have set Person as
archetype. Now I have removed the archetype from the Object Type
and it works: now I have the preview and the Unlinked status.</div>
<div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
class="elementToProof">
<br>
</div>
<div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
class="elementToProof">
So should I omit the archetype or to have users of the same
archetype for a correct correlation?</div>
<div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
class="elementToProof">
<br>
</div>
<div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"
class="elementToProof">
Thanks</div>
<div class="elementToProof" id="Signature">
<div
style="font-family: Arial, Helvetica, sans-serif; font-size: 9.75pt; color: rgb(34, 34, 34);"
class="elementToProof">
<span
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"></span><br>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif"
style="font-size:11pt" color="#000000"><b>Da:</b> midPoint
<a class="moz-txt-link-rfc2396E" href="mailto:midpoint-bounces@lists.evolveum.com"><midpoint-bounces@lists.evolveum.com></a> per conto di Ivan
Noris via midPoint <a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a><br>
<b>Inviato:</b> giovedì 5 marzo 2026 08:35<br>
<b>A:</b> <a class="moz-txt-link-abbreviated" href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>
<a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a><br>
<b>Cc:</b> Ivan Noris <a class="moz-txt-link-rfc2396E" href="mailto:ivan.noris@evolveum.com"><ivan.noris@evolveum.com></a><br>
<b>Oggetto:</b> Re: [midPoint] Resource doesn't link accounts</font>
<div> </div>
</div>
<div>
<div
style="display:none!important; display:none; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; opacity:0; overflow:hidden">
Hi Lucio, it would help if you describe your environment more:
1. what are your synchronization rules? 2. are you using
archetypes in midPoint? In Basic configuration of your object
type, in the last page, where you specify "User" as the type,</div>
<div
style="display:none!important; display:none; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; opacity:0; overflow:hidden">
ZjQcmQRYFpfptBannerStart</div>
<div dir="ltr" lang="en" id="x_pfptBannerayksrtt"
style="display:block!important; text-align:left!important; margin:0 0 10px 0!important; padding:7px 16px 8px 16px!important; border-radius:4px!important; min-width:200px!important; background-color:#d0d8dc!important; background-color:#d0d8dc; border-top:4px solid #90a4ae!important; border-top:4px solid #90a4ae">
<div id="x_pfptBannerayksrtt"
style="float:left!important; display:block!important; margin:1px 0 1px 0!important; max-width:600px!important">
<div id="x_pfptBannerayksrtt"
style="display:block!important; visibility:visible!important; background-color:#d0d8dc!important; color:#000000!important; color:#000000; font-family:'Arial',sans-serif!important; font-family:'Arial',sans-serif; font-weight:bold!important; font-weight:bold; font-size:14px!important; line-height:1.29!important; line-height:1.29">
*** Avviso di sicurezza: Questa email proviene
dall'esterno dell'organizzazione. Non cliccare su link né
aprire allegati a meno che tu non abbia verificato
l'indirizzo del mittente e confermato che il contenuto sia
sicuro! ***
</div>
<div id="x_pfptBannerayksrtt"
style="display:block!important; visibility:visible!important; background-color:#d0d8dc!important; color:#000000!important; color:#000000; font-weight:normal; font-family:'Arial',sans-serif!important; font-family:'Arial',sans-serif; font-size:12px!important; line-height:1.5!important; line-height:1.5; margin-top:2px!important">
*** Security Warning: This email originated from outside
of the organization. Do not click links or open
attachments unless you verified the sender mail address
and know the content is safe! ***
</div>
</div>
<div
style="clear:both!important; display:block!important; visibility:hidden!important; line-height:0!important; font-size:0.01px!important; height:0px">
</div>
</div>
<div
style="display:none!important; display:none; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; opacity:0; overflow:hidden">
ZjQcmQRYFpfptBannerEnd</div>
<style>#x_pfptBannerayksrtt
{display:block!important;
visibility:visible!important;
opacity:1!important;
background-color:#d0d8dc!important;
max-width:none!important;
max-height:none!important}html:root, html:root > div
{display:block!important;
visibility:visible!important;
opacity:1!important}</style>
<p>Hi Lucio,</p>
<p>it would help if you describe your environment more:</p>
<p><br>
</p>
<p>1. what are your synchronization rules?</p>
<p>2. are you using archetypes in midPoint? In Basic
configuration of your object type, in the last page, where you
specify "User" as the type, are you also using archetype (e.g.
Person)? Does this archetype match the users already in
midPoint?</p>
<p>(Correlation uses the archetype information during matching,
if you have specified that you want to use archetype).</p>
<p>3. what is the Lifecycle state of the resource / Object type
/ all other configuration in the resource?</p>
<p><br>
</p>
<p>Best regards,</p>
<p>Ivan</p>
<p><br>
</p>
<div class="x_moz-cite-prefix">On 3/4/26 14:29, Lucio Fioramonti
via midPoint wrote:<br>
</div>
<blockquote type="cite">
<style type="text/css" style="display:none">p
{margin-top:0;
margin-bottom:0}</style>
<div class="x_elementToProof"
style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hello, I have a database resource (Postgresql) created from
scratch by using the wizard. Resource objects (accounts) are
visibile in Midpoint console, correlation rule,
synchronization (with no rule for unmatched) and mapping are
in place. There are corresponding users and the correlation
is mailny based on emailAddress (exact match).</div>
<div class="x_elementToProof"
style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof"
style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
When I ask for Import Preview, no results appear (white
page!). Only result is possible if I add unmatched rule in
synchronization config (unmatched --> add focus), but,
obviously, an add action fo user object appear.</div>
<div class="x_elementToProof"
style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof"
style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Why the correlation doesn't link the account? Why the
preview appears blank? Are there any db resourxe example
with correlation and synch config?</div>
<div class="x_elementToProof" id="x_Signature">
<div class="x_elementToProof"
style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof"
style="background-color:rgb(255,255,255); margin:0px 0cm">
<div class="x_elementToProof"
style="background-color:rgb(255,255,255); font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<i>Thanks in advance.</i><span
style="font-family:Arial,Helvetica,sans-serif; font-size:9.75pt; color:rgb(34,34,34)"><br>
</span></div>
</div>
</div>
<br>
<fieldset class="x_moz-mime-attachment-header"></fieldset>
<pre class="x_moz-quote-pre">_______________________________________________
midPoint mailing list
<a class="x_moz-txt-link-abbreviated moz-txt-link-freetext"
href="mailto:midPoint@lists.evolveum.com"
moz-do-not-send="true">midPoint@lists.evolveum.com</a>
<a class="x_moz-txt-link-freetext"
href="https://urldefense.com/v3/__https://lists.evolveum.com/mailman/listinfo/midpoint__;!!LQkDIss!TQzF0GutWXxXaFCVP6CR4oBxXdXQBIIphcNUqZ5vyxNjT7gGOi0PtJ9EFraesC95H8Q9Wu7uV8T1iAY18cS0rVUPRlgPmjD8Lw$"
moz-do-not-send="true">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<pre class="x_moz-signature" cols="72">--
Ivan Noris
Expert Identity Engineer
<a
href="https://urldefense.com/v3/__http://evolveum.com__;!!LQkDIss!TQzF0GutWXxXaFCVP6CR4oBxXdXQBIIphcNUqZ5vyxNjT7gGOi0PtJ9EFraesC95H8Q9Wu7uV8T1iAY18cS0rVUPRlj8zavrvQ$"
moz-do-not-send="true">evolveum.com</a>
</pre>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Ivan Noris
Expert Identity Engineer
evolveum.com
</pre>
</body>
</html>