<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
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-ligatures:standardcontextual;
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;}
--></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">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I want to run the reconcileTask to detect deleted shadows fast.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">There are three processes in reconciliation according to the
<a href="https://docs.evolveum.com/midpoint/reference/tasks/synchronization-tasks/import-and-reconciliation/">
documentation</a>. As there are too many users in our system, I want to run only <b>
remainingShadows</b> but got error:<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">ERROR (com.evolveum.midpoint.repo.common.activity.run.ActivityRunResult): Unhandled exception in RemainingShadowsActivityRun{act=EmbeddedActivity{path='remainingShadows'}}.<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US">java.lang.IllegalStateException: No reconciliation start timestamp in OtherActivityState{activityPath=, task=Task(id:1682599173612-0-1, name:reconcileAccounts, oid:9b83f7cc-0cc0-4625-8875-885e02b859d6), stateItemPath=activityState/activity}<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US">Here is my configuration:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"><tailoring><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <change><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <reference>operationCompletion</reference><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <reference>resourceObjects</reference><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <controlFlow><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <processingOption>skip</processingOption><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> </controlFlow><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> </change><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"></tailoring><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If I don’t skip resourceObjects, things can be run without any error:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><span style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"><tailoring><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <change><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <reference>operationCompletion</reference><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <controlFlow><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <processingOption>skip</processingOption><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> </controlFlow><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> </change><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"></tailoring><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I also tried not skip resourceObjects + add extension to speed up the processing of users. But the process still takes too long (We have about 80,000 users).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"><extension><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <modelExecuteOptions><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <reconcileFocus>true</reconcileFocus><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <partialProcessing><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <load>skip</load><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <focus>skip</focus><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <inbound>skip</inbound><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <focusActivation>skip</focusActivation><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <objectTemplateBeforeAssignments>skip</objectTemplateBeforeAssignments><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <assignments>skip</assignments><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <assignmentsOrg>skip</assignmentsOrg><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <assignmentsMembershipAndDelegate>skip</assignmentsMembershipAndDelegate><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <assignmentsConflicts>skip</assignmentsConflicts><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <focusLifecycle>skip</focusLifecycle><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <objectTemplateAfterAssignments>skip</objectTemplateAfterAssignments><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <focusCredentials>skip</focusCredentials><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <focusPolicyRules>skip</focusPolicyRules><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <policyRuleCounters>skip</policyRuleCounters><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <projection>skip</projection><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <outbound>skip</outbound><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <projectionValues>skip</projectionValues><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <projectionCredentials>skip</projectionCredentials><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <projectionReconciliation>skip</projectionReconciliation><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <projectionLifecycle>skip</projectionLifecycle><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <objectTemplateAfterProjections>skip</objectTemplateAfterProjections><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <approvals>skip</approvals><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <execution>skip</execution><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> <notification>skip</notification><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> </partialProcessing><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"> </modelExecuteOptions><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"></extension><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#AFABAB;mso-style-textfill-fill-color:#AFABAB;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Any suggestions?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks a lot for your help in advance!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Hsin-Fang<o:p></o:p></span></p>
</div>
</body>
</html>