<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Fabian,<br>
    <br>
    Yes, ordering of evaluations very likely the cause. You can use this
    guide to confirm the suspicion and find the root cause:<br>
    <br>
    <a class="moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/Troubleshooting+Mappings">https://wiki.evolveum.com/display/midPoint/Troubleshooting+Mappings</a><br>
    <br>
    I would guess that the organizationalUnit value is provided by one
    of your assignments. As for object template mappings there is
    special "after assignments" setting that can be used in such cases.
    But for autoassignment - I'm not really sure if this is supported
    yet. But a look at the schema (XSD) documentation should provide
    more information.<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Radovan Semancik
Software Architect
evolveum.com
</pre>
    <br>
    <br>
    <div class="moz-cite-prefix">On 08/21/2018 09:10 AM, Sylvaire kevin
      TIPA wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:HE1PR0902MB19610E20196FE0A41FC18423C1310@HE1PR0902MB1961.eurprd09.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <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 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:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle20
        {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:70.85pt 70.85pt 70.85pt 70.85pt;}
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"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-GB">Hello, not sure but I think that it is an order
            problem. When the autoassign is evaluate
          </span><code><span style="font-size:10.0pt" lang="EN-GB">organizationalUnit
            </span>
          </code><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-GB">field is probably not assign.
          </span><code><span style="font-size:10.0pt" lang="EN-GB"> </span></code><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-GB"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
            lang="EN-GB"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><span
              style="font-family:"Calibri",sans-serif">Cordialement,<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
          <table class="MsoNormalTable"
            style="width:100.0%;border:none;border-top:solid #00BBDF
            3.0pt" cellspacing="0" cellpadding="0" width="100%"
            border="1">
            <tbody>
              <tr>
                <td style="width:225.75pt;border:none;padding:0cm 0cm
                  0cm 0cm" valign="top" width="708">
                  <p class="MsoNormal" style="line-height:105%"><span
style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
                  <p class="MsoNormal" style="line-height:105%"><span
style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#1F497D"><img
                        id="Image_x0020_1"
                        src="cid:part1.56349A96.B870CB56@evolveum.com"
                        alt="cid:8e2f30c3-f5eb-4f4e-aefb-9d083f8a3b45"
                        class="" height="22" width="174"></span><span
style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US"><o:p></o:p></span></p>
                  <p class="MsoNormal" style="line-height:105%"><span
style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
                  <p class="MsoNormal" style="line-height:105%"><b><span
style="font-size:10.0pt;line-height:105%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Sylvaire-Kevin
                        TIPA</span></b><i><span
style="font-size:10.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#757B80;mso-fareast-language:EN-US"><o:p></o:p></span></i></p>
                  <p class="MsoNormal" style="line-height:105%"><i><span
style="font-size:10.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#767171;mso-fareast-language:EN-US">Thales
                        Services / OIC / DevOps Automatisation
                        Infrastructures<o:p></o:p></span></i></p>
                  <p class="MsoNormal" style="line-height:105%"><span
style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#BFBFBF;mso-fareast-language:EN-US">…………………………………………………………………………………………<o:p></o:p></span></p>
                  <p class="MsoNormal" style="line-height:105%"><span
style="font-size:9.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:gray;mso-fareast-language:EN-US">THALES
                      SERVICES SAS<br>
                      44 Quai Charles de Gaulle<br>
                      CS 20100<br>
                      69463 Lyon Cedex 06<o:p></o:p></span></p>
                  <p class="MsoNormal" style="line-height:105%"><span
style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#BFBFBF;mso-fareast-language:EN-US">…………………………………………………………………………………………<o:p></o:p></span></p>
                  <p class="MsoNormal" style="line-height:105%"><span
style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><a
                        href="http://www.thalesgroup.com/"
                        moz-do-not-send="true"><span
style="font-size:8.5pt;line-height:105%;font-family:"Arial",sans-serif;color:gray">www.thalesgroup.com</span></a></span><span
style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;color:#BFBFBF;mso-fareast-language:EN-US"><o:p></o:p></span></p>
                  <p class="MsoNormal" style="line-height:105%"><span
style="font-size:11.0pt;line-height:105%;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
                </td>
              </tr>
            </tbody>
          </table>
          <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;display:none"><o:p> </o:p></span></p>
        </div>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">De :</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">
                midPoint [<a class="moz-txt-link-freetext" href="mailto:midpoint-bounces@lists.evolveum.com">mailto:midpoint-bounces@lists.evolveum.com</a>]
                <b>De la part de</b> Fabian Bosch<br>
                <b>Envoyé :</b> lundi 20 août 2018 17:42<br>
                <b>À :</b> midPoint General Discussion
                <a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a><br>
                <b>Objet :</b> [midPoint] autoassignment needs
                additional reconciliation<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Hi there, <br>
          <br>
          I need help troubleshooting my autoassignment.<br>
          If I import my users from a CSV-Ressource, I want to
          autoassign a certain role based on a specific attribute.
          <br>
          I do this with the documented syntax in the role:<br>
          <br>
          <tt><span style="font-size:10.0pt">   <autoassign></span></tt><span
            style="font-size:10.0pt;font-family:"Courier New""><br>
            <tt>      <enabled>true</enabled></tt><br>
            <tt>      <focus></tt><br>
            <tt>         <mapping></tt><br>
            <tt>            <strength>strong</strength></tt><br>
            <tt>            </tt></span><o:p></o:p></p>
        <div>
          <p class="MsoNormal"><code><span style="font-size:10.0pt">            <mapping></span></code><o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><code><span style="font-size:10.0pt">               <strength>strong</strength></span></code><o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><code><span style="font-size:10.0pt">               <source></span></code><o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><code><span style="font-size:10.0pt">                    <path>organizationalUnit</path></span></code><o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><code><span style="font-size:10.0pt">                </source></span></code><o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><code><span style="font-size:10.0pt">                <condition></span></code><o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><code><span style="font-size:10.0pt">                    <script></span></code><o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><code><span style="font-size:10.0pt">                        <code>basic.stringify(organizationalUnit)
                == 'support'</code></span></code><o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><code><span style="font-size:10.0pt">                    </script></span></code><o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><code><span style="font-size:10.0pt">                </condition></span></code><o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><code><span style="font-size:10.0pt">            </mapping></span></code><o:p></o:p></p>
        </div>
        <p class="MsoNormal"><tt><span style="font-size:10.0pt">        
              </mapping></span></tt><span
            style="font-size:10.0pt;font-family:"Courier New""><br>
            <tt>      </focus></tt><br>
            <tt>   </autoassign></tt><br>
            <br>
          </span><br>
          but if I import the Users I don't see the assignment in the
          first place - only after an additional reconciliation!<br>
          Do you have an idea why I need this additional reconciliation?
          <o:p></o:p></p>
        <p><br>
          Thanks!<o:p></o:p></p>
        <p>-Fabian<o:p></o:p></p>
      </div>
      <p style="font-size:8pt; line-height:10pt; font-family:
        'Cambria','times roman',serif;">
        This message contains confidential information and is intended
        only for the individual(s) addressed in the message. If you are
        not the named addressee, you should not disseminate, distribute,
        or copy this e-mail. If you are not the intended recipient, you
        are notified that disclosing, distributing, or copying this
        e-mail is strictly prohibited.
      </p>
      <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>