<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Ľubomír,</p>
    <p>I am not sure if this can be reasonably done in the condition. It
      depends on whether there is model operation context or projection
      context present. I am not able to quickly located that in source
      code now.</p>
    <p>The other possibility is to use a model scripting hook as I
      suggested here a few days ago in a similar context. Not easy
      either, but doable.</p>
    <p>Or maybe someone else would have better suggestion. I think this
      problem was solved by someone but I am sorry, I cannot remember.<br>
    </p>
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div class="moz-cite-prefix">On 07.02.2018 9:50, Lubomir Odlevak
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABppFo7LqVoJPwMyu9eK+4nB6f25+rxw-Ys+b9T9=q_PmHT4oA@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr"
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Hi,
          <div><br>
          </div>
          <div>I have the following outbound mapping for unlock/lockout
            user on AD:</div>
          <div>
            <div>    <attribute></div>
            <div>            <c:ref>ri:lockoutTime</c:ref></div>
            <div>            <limitations></div>
            <div>               <maxOccurs>1</maxOccurs></div>
            <div>            </limitations></div>
            <div>            <outbound></div>
            <div>               <strength>strong</strength></div>
            <div>               <expression></div>
            <div>                  <value>0</value></div>
            <div>               </expression></div>
            <div>               <condition></div>
            <div>                  <script></div>
            <div>                     <code></div>
            <div><br>
            </div>
            <div>                // Condition is needed to detect
              password attribut has been changed</div>
            <div>                   </div>
            <div>                      </code></div>
            <div>                  </script></div>
            <div>               </condition></div>
            <div>            </outbound></div>
            <div>         </attribute></div>
          </div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        It is possible to specify condition in <condition> section
        to detect mP user's password change  so that outbound mapping
        would be dependent on password change only ?
        <div><br>
        </div>
        <div>Thanks</div>
        <div>Regards</div>
        <div>Lubomir Odlevak<br>
          <div>
            <div class="gmail_extra">
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div dir="ltr"><br>
                    <br>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
        </div>
      </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>