<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="moz-cite-prefix">Here's an example of recomputing based
on org membership with the "name" value ending in 0, which gets me
10% of my users as name is close enough to a number (it has
leading zeros) and is evenly distributed across all digits in the
last number. This is put into a bulk task to run. Pretty sure I
don't have any typos here. This is from some of my older examples.
<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><s:search
xmlns=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">"http://midpoint.evolveum.com/xml/ns/public/common/common-3"</a><br>
xmlns:s=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3">"http://midpoint.evolveum.com/xml/ns/public/model/scripting-3"</a><br>
xmlns:c=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">"http://midpoint.evolveum.com/xml/ns/public/common/common-3"</a><br>
xmlns:q=<a class="moz-txt-link-rfc2396E" href="http://prism.evolveum.com/xml/ns/public/query-3">"http://prism.evolveum.com/xml/ns/public/query-3"</a>><br>
<s:type>c:UserType</s:type><br>
<s:searchFilter><br>
<q:and><br>
<q:ref><br>
<q:path>assignment/targetRef</q:path><br>
<q:value><br>
<oid>8893b32f-b168-4a68-9835-83f4ef4b06cd</oid><br>
<type>OrgType</type><br>
</q:value><br>
</q:ref><br>
<q:substring><br>
<q:matching>polyStringOrig</q:matching><br>
<q:path>name</q:path><br>
<q:value>0</q:value><br>
<q:anchorEnd>true</q:anchorEnd><br>
</q:substring><br>
</q:and><br>
</s:searchFilter><br>
<s:action><br>
<s:type>recompute</s:type><br>
</s:action><br>
</s:search><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 2/16/22 03:12, Pavol Mederly via
midPoint wrote:<br>
</div>
<blockquote type="cite" cite="mid:833680d3-34fd-603f-fdd4-f046be6a4e1f@evolveum.com">
<p>Hello Andrea,</p>
<p>then you may open 4.1 source tree and look for <b>mext:objectQuery</b>
in <b>task*.xml</b> files. :-)<br>
</p>
<p>Maybe someone from community will supply a specific example.</p>
<p>Best regards,<br>
</p>
<pre class="moz-signature" cols="72">--
Pavol Mederly
Software developer
evolveum.com</pre>
<div class="moz-cite-prefix">On 16/02/2022 10:09, Andrea Picconi
via midPoint wrote:<br>
</div>
<blockquote type="cite" cite="mid:DU2PR09MB547043FDA485D19656F74AA1F7359@DU2PR09MB5470.eurprd09.prod.outlook.com">
<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-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:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}@font-face
{font-family:"Open Sans \,sans-serif";
panose-1:0 0 0 0 0 0 0 0 0 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}pre
{mso-style-priority:99;
mso-style-link:"Preformattato HTML Carattere";
margin:0cm;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-language:IT;}span.PreformattatoHTMLCarattere
{mso-style-name:"Preformattato HTML Carattere";
mso-style-priority:99;
mso-style-link:"Preformattato HTML";
font-family:Consolas;}span.StileMessaggioDiPostaElettronica22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}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]-->
<div class="WordSection1">
<p class="MsoNormal">Hi Pavol,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">thank you for your quickly response. <o:p></o:p></p>
<p class="MsoNormal">You are right, recomputation, but now we
can work only on the 4.1.<o:p></o:p></p>
<p class="MsoNormal">An example of the query that can i use
inside the TASK?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you again,<o:p></o:p></p>
<p class="MsoNormal">Andrea<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="mso-fareast-language:IT">From:</span></b><span style="mso-fareast-language:IT"> midPoint <a class="moz-txt-link-rfc2396E" href="mailto:midpoint-bounces@lists.evolveum.com" moz-do-not-send="true"><midpoint-bounces@lists.evolveum.com></a>
<b>On Behalf Of </b>Pavol Mederly via midPoint<br>
<b>Sent:</b> Wednesday, February 16, 2022 9:48 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated
moz-txt-link-freetext" href="mailto:midpoint@lists.evolveum.com" moz-do-not-send="true">midpoint@lists.evolveum.com</a><br>
<b>Cc:</b> Pavol Mederly <a class="moz-txt-link-rfc2396E" href="mailto:mederly@evolveum.com" moz-do-not-send="true"><mederly@evolveum.com></a><br>
<b>Subject:</b> Re: [midPoint] Reconciliation of a
range of users<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hello,<span style="mso-fareast-language:IT"><o:p></o:p></span></p>
<p>you probably mean recomputation, not reconciliation, right?
Reconciliation deals primarily with accounts, not users.<o:p></o:p></p>
<p>For 4.4 and above, just search through midPoint source
tree, looking at <b>task*.xml</b> objects with <b><objects></b>
with <b><query></b> elements.<o:p></o:p></p>
<p>Regards,<o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Pavol Mederly<o:p></o:p></pre>
<pre>Software developer<o:p></o:p></pre>
<pre>evolveum.com<o:p></o:p></pre>
<div>
<p class="MsoNormal">On 16/02/2022 09:31, Andrea Picconi via
midPoint wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">do you have an example of a
riconciliation TASK where you only take a range of users,
based on an extended attribute (or normal)?<o:p></o:p></p>
<p class="MsoNormal">I have a resource with over 200,000
users, but I have to check only a part of it using a date
present on an extended attribute as a filter. <o:p></o:p></p>
<p class="MsoNormal">Any idea?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thank you in advance,<o:p></o:p></p>
<p class="MsoNormal">Andrea<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<table class="MsoNormalTable" style="border-collapse:collapse" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td rowspan="6" style="width:77.75pt;padding:0cm 5.4pt
0cm 5.4pt" width="104" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><img style="width:.9687in;height:.8854in" id="Immagine_x0020_1" src="cid:part1.Okv9uXzX.t5JBHAfl@ndsu.edu" class="" width="93" height="85"><o:p></o:p></p>
</td>
<td style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt" width="274" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><b><span style="font-size:9.0pt;line-height:105%" lang="EN-US">Andrea Picconi</span></b><o:p></o:p></p>
</td>
</tr>
<tr>
<td style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt" width="274" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span style="font-size:9.0pt;line-height:105%" lang="EN-US">IAM Engineer</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt" width="274" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span style="font-size:7.0pt;line-height:105%" lang="EN-US">MAIL: </span><span lang="EN-US"><a href="mailto:ANDREA.PICCONI@INNOVERY.NET" moz-do-not-send="true"><span style="font-size:7.0pt;line-height:105%">ANDREA.PICCONI@INNOVERY.NET</span></a></span><o:p></o:p></p>
</td>
</tr>
<tr>
<td style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt" width="274" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span style="font-size:7.0pt;line-height:105%" lang="EN-US">PHONE:</span><span style="font-size:7.0pt;line-height:105%;font-family:"Open
Sans ,sans-serif",serif" lang="EN-US"> +39
06 51963439 (ext. 196)</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt" width="274" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span style="font-size:7.0pt;line-height:105%" lang="EN-US">MOBILE: </span><span style="font-size:7.0pt;line-height:105%;font-family:"Open
Sans ,sans-serif",serif" lang="EN-US">-</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td style="width:205.5pt;padding:0cm 5.4pt 0cm 5.4pt" width="274" valign="top">
<p class="MsoNormal" style="text-align:justify;line-height:105%"><span style="font-size:7.0pt;line-height:105%;font-family:"Open Sans
,sans-serif",serif" lang="EN-US"> </span><o:p></o:p></p>
</td>
</tr>
<tr>
<td colspan="2" style="width:283.25pt;padding:0cm
5.4pt 0cm 5.4pt" width="378" valign="top">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:6.5pt;line-height:105%"><a href="http://WWW.INNOVERY.NET" moz-do-not-send="true"><span style="color:#0563C1">WWW.INNOVERY.NET</span></a></span><o:p></o:p></p>
</td>
</tr>
<tr>
<td colspan="2" style="width:283.25pt;padding:0cm
5.4pt 0cm 5.4pt" width="378" valign="top">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:7.0pt;line-height:105%">STRADA
QUATTRO SNC, PAL A6</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td colspan="2" style="width:283.25pt;padding:0cm
5.4pt 0cm 5.4pt" width="378" valign="top">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:7.0pt;line-height:105%">CENTRO
DIREZIONALE MILANOFIORI | 20057 ASSAGO (MI)</span><o:p></o:p></p>
</td>
</tr>
<tr>
<td colspan="2" style="width:283.25pt;padding:0cm
5.4pt 0cm 5.4pt" width="378" valign="top">
<p class="MsoNormal" style="line-height:105%"><span style="font-size:5.0pt;line-height:105%"> </span><o:p></o:p></p>
</td>
</tr>
<tr>
<td colspan="2" style="width:283.25pt;padding:0cm
5.4pt 0cm 5.4pt" width="378" valign="top">
<p class="MsoNormal" style="line-height:105%"><img style="width:2.7187in;height:.2812in" id="Immagine_x0020_2" src="cid:part2.rLAxsgVP.wYSe6Vee@ndsu.edu" class="" width="261" height="27" border="0"><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:IT"> </span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:IT"><br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>midPoint mailing list<o:p></o:p></pre>
<pre><a href="mailto:midPoint@lists.evolveum.com" moz-do-not-send="true" class="moz-txt-link-freetext">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
<pre><a href="https://lists.evolveum.com/mailman/listinfo/midpoint" moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
</blockquote>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="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="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint" moz-do-not-send="true">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>