<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Sergio,</p>
    <p>recompute does not allow this directly, but if recompute has been
      executed using query, there is a way:</p>
    <p><task oid="08e2fbc8-9622-11e6-a917-3c970e44b9e2"<br>
         
      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: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>
          xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a><br>
          xmlns:xsd=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>><br>
                                        <br>
          <name>User Recompute Task XYZ</name><br>
          <description>Recomputes enabled EMP
      users</description><br>
           <extension><br>
              <mext:objectQuery
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>><br>
              <q:filter><br>
              <q:and><br>
                  <q:equal><br>
                      <q:path>c:employeeType</q:path><br>
                      <q:value>EMP</q:value><br>
                  </q:equal><br>
                  <q:equal><!-- Only enabled users --><br>
                     
      <q:path>c:activation/administrativeStatus</q:path><br>
                      <q:value>enabled</q:value><br>
                  </q:equal><br>
              </q:and><br>
              </q:filter><br>
      <b>            <q:paging></b><b><br>
      </b><b>                <q:orderBy>name</q:orderBy></b><b><br>
      </b><b>            </q:paging></b><b><br>
      </b>        </mext:objectQuery><br>
          </extension><br>
          <ownerRef oid="00000000-0000-0000-0000-000000000002"/><br>
          <executionStatus>runnable</executionStatus><br>
         
<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><br>
          <recurrence>single</recurrence><br>
          <binding>tight</binding><br>
      </task><br>
      <br>
    </p>
    If such task is executed, it's processing users sequentially. If it
    stops, you "continue" by adding another condition to the
    <q:and>:<br>
    <b>            <q:greater></b><b><br>
    </b><b>                <q:path>name</q:path></b><b><br>
    </b><b>               
      <q:value>lastprocessedname</q:value></b><b><br>
    </b><b>            </q:greater></b><b><br>
    </b><br>
    Then if you start that task, it should "continue" by processing of
    the next user (sorted alphabetically).<br>
    Of course if the set of your users has changed meanwhile this will
    not guarantee that it will process all of them.<br>
    <br>
    Regards,<br>
    Ivan<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/11/2016 02:34 PM, Sergio Ortiz
      wrote:<br>
    </div>
    <blockquote
cite="mid:CA+-WvajZHAMSoSpDJoDWfrz=mj3ABAdQ_9iPWicoq-d6e15=6g@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span style="font-size:12.8px">Hi all,</span><br
          style="font-size:12.8px">
        <br style="font-size:12.8px">
        <span style="font-size:12.8px">I would like to know if there is
          a query or a way that permit to resume</span><br
          style="font-size:12.8px">
        <span style="font-size:12.8px">recompute tasks and not
          re-evaluate all the scope of users, only the users that</span><br
          style="font-size:12.8px">
        <span style="font-size:12.8px">have not been processed.</span><br
          style="font-size:12.8px">
        <br style="font-size:12.8px">
        <span style="font-size:12.8px">Thanks for your opinions.</span><br
          style="font-size:12.8px">
        <br style="font-size:12.8px">
        <span style="font-size:12.8px">Greetings</span><br>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature" data-smartmail="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div><span
                            style="font-size:12.8px;color:rgb(0,0,0);font-family:verdana,sans-serif">Ing. </span>Sergio
                          Ortiz</div>
                        <div><font color="#999999"><b>Identicum S.A.</b></font></div>
                        <div>
                          <div style="font-size:12.8px"><font
                              face="arial, helvetica, sans-serif"><font
                                style="font-size:12.8px" color="#999999">Jorge
                                Newbery 3226</font></font></div>
                          <div style="font-size:12.8px"><font
                              face="arial, helvetica, sans-serif"><font
                                style="font-size:12.8px" color="#999999">Tel:
                                +54 (11) 4552-3050</font></font></div>
                        </div>
                        <div><a moz-do-not-send="true"
                            href="http://www.identicum.com"
                            target="_blank">www.identicum.com</a></div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">2016-11-03 16:55 GMT-03:00 Sergio Ortiz
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:sortiz@identicum.com" target="_blank">sortiz@identicum.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>Hi all,</div>
              <div><br>
              </div>
              <div>I would like to know if there is a query or a way
                that permit to resume recompute tasks and not
                re-evaluate all the scope of users, only the users that
                have not been processed.</div>
              <div><br>
              </div>
              <div>Thanks for your opinions.</div>
              <div><br>
              </div>
              <div>Greetings</div>
              <div><br clear="all">
                <div>
                  <div class="m_7648684766807359144gmail_signature">
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">
                                <div><span
                                    style="font-size:12.8px;color:rgb(0,0,0);font-family:verdana,sans-serif">Ing. </span>Sergio
                                  Ortiz</div>
                                <div><font color="#999999"><b>Identicum
                                      S.A.</b></font></div>
                                <div>
                                  <div style="font-size:12.8px"><font
                                      face="arial, helvetica,
                                      sans-serif"><font
                                        style="font-size:12.8px"
                                        color="#999999">Jorge Newbery
                                        3226</font></font></div>
                                  <div style="font-size:12.8px"><font
                                      face="arial, helvetica,
                                      sans-serif"><font
                                        style="font-size:12.8px"
                                        color="#999999">Tel: +54
                                        (11) 4552-3050</font></font></div>
                                </div>
                                <div><a moz-do-not-send="true"
                                    href="http://www.identicum.com"
                                    target="_blank">www.identicum.com</a></div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </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>
    <pre class="moz-signature" cols="72">-- 
Ivan Noris
Senior Identity Engineer
evolveum.com
</pre>
  </body>
</html>