<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div>Dear All,</div>
<div>I'm having trouble with Autoassignment Roles in our upgrade to Midpoint 4. Some objects like archetypes and object collections, and roles are being evaluated when imported or modified by autoassignment role causing erros like: </div>
<div><br>
</div>
<div>ERROR [com.evolveum.midpoint.init.InitialDataImport] (main) Couldn't import objectCollection:00000000-0000-0000-0001-000000000002(Modification audit records) from file 300-object-collection-audit-modifications.xml: .</div>
<div>com.evolveum.midpoint.util.exception.SchemaException: Cannot find definition of a subitem title of ObjectDeltaObject(null + ObjectDelta(ObjectCollectionType:00000000-0000-0000-0001-000000000002,ADD: objectCollection:00000000-0000-0000-0001-000000000002(Modification
 audit records)) = objectCollection:00000000-0000-0000-0001-000000000002(Modification audit records))</div>
<div><br>
</div>
<div>I found this two links, related with this problem:</div>
<div><br>
</div>
<div>  https://lists.evolveum.com/pipermail/midpoint/2019-May/005520.html</div>
<div><br>
</div>
<div>  https://jira.evolveum.com/browse/MID-5497<br>
</div>
<div><br>
</div>
<div>Given this, is Autoassigment roles usable in Midpoint 4, or do I have to use another solution like object templates to auto  assign?​<br>
</div>
<p><br>
</p>
<p>thanks in advance,<br>
</p>
<p><br>
</p>
<div id="Signature">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><font size="3"><b style="font-family:Times New Roman"><span style="font-size:10pt; color:rgb(31,73,125)">Paulo Fernandes de Souza Júnior</span></b><b style="font-family:Times New Roman"><span style="font-size:10pt; color:rgb(23,54,93)"></span></b><span style="font-family:Times New Roman">
</span><br style="font-family:Times New Roman">
<b style="font-family:Times New Roman"><span style="font-size:8pt; color:rgb(31,73,125)">NQPPPS<br>
</span></b><span style="font-size:8pt; font-family:Times New Roman; color:rgb(23,54,93)">Senado Federal -
</span></font><font size="3"><span style="font-size:8pt; font-family:Times New Roman; color:rgb(31,73,125)">PRODASEN<br>
</span><span style="font-size:8pt; font-family:Times New Roman; color:rgb(23,54,93)">Fone: 61 3303.3924</span></font><span style="color:rgb(31,73,125)"></span>
<br>
<br>
<p class="MsoNormal"><br>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>