<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello Michal,</p>
    <p>this is not a correct mailing list for this type of questions.
      Please use "midpoint" list: <a
        href="https://lists.evolveum.com/mailman/listinfo/midpoint"
        class="moz-txt-link-freetext">https://lists.evolveum.com/mailman/listinfo/midpoint</a>.</p>
    <p>Best regards,<br>
      Pavol Mederly<br>
    </p>
    <div class="moz-cite-prefix">On 05/03/2024 09:14, Michal Sakac via
      midPoint-dev wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:CDE92257-968F-43E7-9EC5-8650C111AE6E@civ.zcu.cz">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      Hi I try to add another than default object template for inbound
      role mapping like this 
      <div><br>
      </div>
      <div>
        <div style="background-color: rgb(255, 255, 255);">
          <pre><font face="Menlo-Regular, monospace" color="#080808"><</font><span
style="color: rgb(0, 51, 179); font-family: Menlo-Regular, monospace;">reaction</span><font
          face="Menlo-Regular, monospace" color="#080808">>
    <</font><span
style="color: rgb(0, 51, 179); font-family: Menlo-Regular, monospace;">name</span><font
          face="Menlo-Regular, monospace" color="#080808">>add</</font><span
style="color: rgb(0, 51, 179); font-family: Menlo-Regular, monospace;">name</span><font
          face="Menlo-Regular, monospace" color="#080808">>
    <</font><span
style="color: rgb(0, 51, 179); font-family: Menlo-Regular, monospace;">situation</span><font
          face="Menlo-Regular, monospace" color="#080808">>unmatched</</font><span
style="color: rgb(0, 51, 179); font-family: Menlo-Regular, monospace;">situation</span><font
          face="Menlo-Regular, monospace" color="#080808">>
    <</font><span
style="color: rgb(0, 51, 179); font-family: Menlo-Regular, monospace;">objectTemplateRef </span><span
style="color: rgb(23, 74, 212); font-family: Menlo-Regular, monospace;">oid</span><font
          face="Menlo-Regular, monospace" color="#067d17">=<span
          style="caret-color: rgb(6, 125, 23);">„</span>XXXXXx"</font><font
          face="Menlo-Regular, monospace" color="#080808">/>
    <</font><span
style="color: rgb(0, 51, 179); font-family: Menlo-Regular, monospace;">actions</span><font
          face="Menlo-Regular, monospace" color="#080808">>
        <</font><span
style="color: rgb(0, 51, 179); font-family: Menlo-Regular, monospace;">addFocus</span><font
          face="Menlo-Regular, monospace" color="#080808">/>
    </</font><span
style="color: rgb(0, 51, 179); font-family: Menlo-Regular, monospace;">actions</span><font
          face="Menlo-Regular, monospace" color="#080808">>
</</font><span
style="color: rgb(0, 51, 179); font-family: Menlo-Regular, monospace;">reaction</span><font
          face="Menlo-Regular, monospace" color="#080808">></font></pre>
          <pre><font face="Menlo-Regular, monospace" color="#080808">But every time when I try to <span
          style="caret-color: rgb(8, 8, 8);">send it to MP I got error </span></font></pre>
          <pre><p
style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; line-height: normal; font-family: Times; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; -webkit-text-stroke-width: 0px; -webkit-text-stroke-color: rgb(0, 0, 0);"><span
          style="font-kerning: none">Item {<a class="moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">http://midpoint.evolveum.com/xml/ns/public/common/common-3</a>}objectTemplateRef has no definition (in value CTD ({.../common/common-3}SynchronizationReactionType))while parsing ( situation => unmatched (class java.lang.String) id => 32 (class java.lang.Long) {...common/common-3}objectTemplateRef => ( oid => parser ValueParser(DOM-less, XXXX, namespace declarations) ) actions => ( addFocus => ( id => parser ValueParser(DOM-less, 35, namespace declarations) ) ) name => add (class java.lang.String) )</span></p>
<p
style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; line-height: normal; font-family: Times; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal; -webkit-text-stroke-width: 0px; -webkit-text-stroke-color: rgb(0, 0, 0); min-height: 14px;"><span
          style="font-kerning: none"></span></p><pre><font
          face="Menlo-Regular, monospace" color="#080808">Can anyone help me? I don’t know what I'm doing wrong? I found this in samples </font></pre><pre>  <reaction>
                    <situation>unmatched</situation>
                    <!-- Reference to the User Template is here. If the user would be
                             created as a result of this action, it will be created according
                             to this template. -->
                    <objectTemplateRef oid="c0c010c0-d34d-b33f-f00d-777222222333"/>
                    <action>
                        <handlerUri><a class="moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#addUser">http://midpoint.evolveum.com/xml/ns/public/model/action-3#addUser</a></handlerUri>
                    </action>
                </reaction></pre><pre>
</pre><pre><font face="Menlo-Regular, monospace" color="#080808"><span
          style="caret-color: rgb(8, 8, 8);">I have</span> MP 4.8</font></pre><pre><font
          face="Menlo-Regular, monospace" color="#080808">
</font></pre><pre><font face="Menlo-Regular, monospace" color="#080808">Thx for help.</font></pre><pre><font
          face="Menlo-Regular, monospace" color="#080808">
</font></pre><pre><font face="Menlo-Regular, monospace" color="#080808">Michal Sakac  </font></pre></pre>
        </div>
        <div>
          <div><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint-dev@lists.evolveum.com">midPoint-dev@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint-dev">https://lists.evolveum.com/mailman/listinfo/midpoint-dev</a>
</pre>
    </blockquote>
  </body>
</html>