<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Tom,<br>
      <br>
      yes, it's perfectly possible. Just use objectQuery extension
      attribute:<br>
      <br>
      <small><tt><task</tt><tt><br>
        </tt><tt>   
          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></tt><tt><br>
        </tt><tt>   
xmlns:mext=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/model/extension-3">"http://midpoint.evolveum.com/xml/ns/public/model/extension-3"</a></tt><tt><br>
        </tt><tt>   
          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>></tt><tt><br>
        </tt><tt><br>
        </tt><tt>    <name>User Recompute (users in
          Bratislava)</name></tt><tt><br>
        </tt><tt>    <extension></tt><tt><br>
        </tt><font color="#cc0000"><tt>        <mext:objectQuery></tt><tt><br>
          </tt><tt>            <q:filter></tt><tt><br>
          </tt><tt>                <q:equal></tt><tt><br>
          </tt><tt>                   
            <q:path>locality</q:path></tt><tt><br>
          </tt><tt>                   
            <q:value>Bratislava</q:value></tt><tt><br>
          </tt><tt>                </q:equal></tt><tt><br>
          </tt><tt>            </q:filter></tt><tt><br>
          </tt><tt>        </mext:objectQuery></tt><tt><br>
          </tt></font><tt>    </extension></tt><tt><br>
        </tt><tt><br>
        </tt><tt>    <ownerRef
          oid="00000000-0000-0000-0000-000000000002"/></tt><tt><br>
        </tt><tt>   
          <executionStatus>runnable</executionStatus></tt><tt><br>
        </tt><tt>   
<handlerUri><a class="moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/model/synchronization/task/recompute/handler-3">http://midpoint.evolveum.com/xml/ns/public/model/synchronization/task/recompute/handler-3</a></handlerUri></tt><tt><br>
        </tt><tt>    <recurrence>single</recurrence></tt><tt><br>
        </tt><tt>    <binding>tight</binding></tt><tt><br>
        </tt><tt></task></tt><tt><br>
        </tt></small><br>
      Best regards,<br>
      Pavol<br>
      <br>
      On 18. 3. 2015 12:19, Tom Gerrard wrote:<br>
    </div>
    <blockquote
cite="mid:DB3PR03MB0667F37EC4379AB4211CD98180000@DB3PR03MB0667.eurprd03.prod.outlook.com"
      type="cite">
      <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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.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 all,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I was just wondering if there is any way of
          running the User Recomputation task on a subset of users?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I am trying to populate an attribute on the
          user object with the DN of the matching account in an assigned
          resource.  I’ve updated the assigned resource definition so
          that it has an inbound mapping for icfs:name pointing at an
          extension attribute.  <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">If I run a user recomputation (or check
          reconcile and save on the user’s page in the web interface)
          then it is updated correctly.  Unfortunately as some accounts
          associated to the users in this instance are unavailable or
          very slow, processing all users could take a very long time
          (based on the average speed so far about 19 days!).  If it
          were possible to limit the recomputation to users with a
          specific locality attribute we could only process users where
          the resources for all their accounts are available.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I did wonder if a reconciliation on either
          the ‘source’ resource or the assigned resource would update
          the attribute but it doesn’t seem to do it in this case.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks,<o:p></o:p></p>
        <p class="MsoNormal">Tom<o:p></o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>