<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Unfortunately, I have never assigned resource accounts (without
      roles).</p>
    <p>So maybe someone else knows if this should work (and how).</p>
    <p>What is the resource which you are trying to assign? The source
      or something else? (You can use roles as a workaround.)</p>
    <p>Ivan<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 02/22/2017 12:48 PM, Prabhakara Rao
      Doddapaneni wrote:<br>
    </div>
    <blockquote
      cite="mid:352399169.2378122.1487764109646@mail.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:16px">
        <div id="yui_3_16_0_ym19_1_1487755132568_24339">I configured two
          resources; one inbound and second both-ways.  For the inbound
          resource, configured unmatched situation to add user with the
          following template:<br>
        </div>
        <div class="qtdSeparateBR"><br>
          <br>
        </div>
        <div class="yahoo_quoted"
          id="yui_3_16_0_ym19_1_1487755132568_24334" style="display:
          block;">
          <div style="font-family: HelveticaNeue, Helvetica Neue,
            Helvetica, Arial, Lucida Grande, sans-serif; font-size:
            16px;" id="yui_3_16_0_ym19_1_1487755132568_24333">
            <div style="font-family: HelveticaNeue, Helvetica Neue,
              Helvetica, Arial, Lucida Grande, sans-serif; font-size:
              16px;" id="yui_3_16_0_ym19_1_1487755132568_24332">
              <div class="y_msg_container"
                id="yui_3_16_0_ym19_1_1487755132568_24331">
                <div id="yiv2718110418">
                  <div id="yui_3_16_0_ym19_1_1487755132568_24330">
                    <div
                      style="color:#000;background-color:#fff;font-family:HelveticaNeue,
                      Helvetica Neue, Helvetica, Arial, Lucida Grande,
                      sans-serif;font-size:16px;"
                      id="yui_3_16_0_ym19_1_1487755132568_24329">
                      <div
                        id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17297"><br>
                      </div>
                      <div
                        id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17511"
                        dir="ltr">
                        <pre style="font-family: Menlo; font-size: 9pt;" id="yui_3_16_0_ym19_1_1487755132568_24861"><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24862"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24863">mapping</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24864">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24866"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24867">description</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24868">></span>
    Property mapping.
    Defines how properties of user object are set up.
    This specific definition sets a full name as a concatenation
    of givenName and familyName.
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24874"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24875">description</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24876">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24878"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24879">strength</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24880">></span>weak<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24881"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24882">strength</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24883">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24885"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24886">source</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24887">></span>
    <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24889"><</span><span style="color:#660e7a;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24890">c</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24891">:path</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24892">></span>$user/givenName<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24893"></</span><span style="color:#660e7a;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24894">c</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24895">:path</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24896">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24898"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24899">source</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24900">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24902"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24903">source</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24904">></span>
    <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24906"><</span><span style="color:#660e7a;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24907">c</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24908">:path</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24909">></span>$user/familyName<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24910"></</span><span style="color:#660e7a;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24911">c</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24912">:path</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24913">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24915"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24916">source</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24917">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24919"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24920">expression</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24921">></span>
    <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24923"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24924">script</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24925">></span>
      <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24927"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24928">language</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24929">></span><a class="moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy">http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy</a><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24930"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24931">language</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24932">></span>
      <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24934"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24935">code</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24936">></span>
        givenName + ' ' + familyName
      <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24939"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24940">code</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24941">></span>
    <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24943"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24944">script</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24945">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24947"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24948">expression</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24949">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24951"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24952">target</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24953">></span>
    <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24955"><</span><span style="color:#660e7a;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24956">c</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24957">:path</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24958">></span>fullName<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24959"></</span><span style="color:#660e7a;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24960">c</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24961">:path</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24962">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24964"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24965">target</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24966">></span>
<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24968"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24969">mapping</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24970">></span>
<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24972"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24973">mapping</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24974">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24976"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24977">name</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24978">></span>Default Role<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24979"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24980">name</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24981">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24983"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24984">strength</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24985">></span>strong<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24986"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24987">strength</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24988">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24990"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24991">expression</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24992">></span>
    <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24994"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24995">assignmentTargetSearch</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24996">></span>
      <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_24998"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_24999">targetType</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25000">></span>c:RoleType<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25001"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25002">targetType</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25003">></span>
      <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25005"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25006">oid</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25007">></span>00000000-0000-0000-0000-000000000008<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25008"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25009">oid</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25010">></span>
    <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25012"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25013">assignmentTargetSearch</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25014">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25016"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25017">expression</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25018">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25020"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25021">target</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25022">></span>
    <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25024"><</span><span style="color:#660e7a;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25025">c</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25026">:path</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25027">></span>assignment<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25028"></</span><span style="color:#660e7a;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25029">c</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25030">:path</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25031">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25033"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25034">target</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25035">></span>
<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25037"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25038">mapping</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25039">></span>
<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25041"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25042">mapping</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25043">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25045"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25046">name</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25047">></span>Default Resource<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25048"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25049">name</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25050">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25052"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25053">strength</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25054">></span>strong<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25055"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25056">strength</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25057">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25059"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25060">expression</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25061">></span>
    <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25063"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25064">assignmentTargetSearch</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25065">></span>
      <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25067"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25068">targetType</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25069">></span>c:ResourceType<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25070"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25071">targetType</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25072">></span>
      <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25074"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25075">oid</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25076">></span>ef2bc95b-76e0-48e2-86d6-3d4f02d3eeee<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25077"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25078">oid</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25079">></span>
    <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25081"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25082">assignmentTargetSearch</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25083">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25085"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25086">expression</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25087">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25089"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25090">target</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25091">></span>
    <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25093"><</span><span style="color:#660e7a;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25094">c</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25095">:path</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25096">></span>assignment<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25097"></</span><span style="color:#660e7a;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25098">c</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25099">:path</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25100">></span>
  <span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25102"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25103">target</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25104">></span>
<span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25106"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yui_3_16_0_ym19_1_1487755132568_25107">mapping</span><span style="background-color:#efefef;" id="yui_3_16_0_ym19_1_1487755132568_25108">></span>

</pre>
                      </div>
                      <div dir="ltr"
                        id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17565">My
                        intention was to assign the above role and
                        resource to the new user imported.  It is
                        failing to add the resource with the cause:
                        Caused by: java.lang.ClassCastException:
                        com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType
                        cannot be cast to
                        com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType</div>
                      <div dir="ltr"
                        id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17666"><span style="white-space:pre-wrap;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17667">     </span>at
com.evolveum.midpoint.model.impl.lens.AssignmentEvaluator.evaluateAssignmentWithResolvedTarget(AssignmentEvaluator.java:368)
                        ~[model-impl-3.5.jar:na]</div>
                      <div dir="ltr"
                        id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17666"><br>
                      </div>
                      <div dir="ltr"
                        id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17666"><br>
                      </div>
                      <div dir="ltr"
                        id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17666">When
                        I tried with the following mapping to assign the
                        resource:</div>
                      <pre style="font-family:Menlo;font-size:9pt;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17861">  <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17862"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17863">mapping</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17864">></span>
<span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17866">       <</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17867">strength</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17868">></span>strong<span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17869"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17870">strength</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17871">></span>
       <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17873"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17874">expression</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17875">></span>
          <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17877"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17878">value</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17879">></span>
           <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17881"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17882">assignment</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17883">></span>
               <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17885"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17886">construction</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17887">></span>
                    <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17889"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17890">resourceRef </span><span style="color:#0000ff;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17891">oid=</span><span style="color:#008000;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17892">"ef2bc95b-76e0-48e2-86d6-3d4f02d3eeee" </span><span style="color:#0000ff;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17893">type=</span><span style="color:#008000;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17894">"ResourceType"</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17895">/></span>
               <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17897"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17898">construction</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17899">></span>
          <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17901"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17902">assignment</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17903">></span>
         <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17905"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17906">value</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17907">></span>     
   <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17909"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17910">expression</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17911">></span>
   <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17913"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17914">target</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17915">></span>
    <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17917"><</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17918">path</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17919">></span>assignment<span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17920"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17921">path</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17922">></span>
   <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17924"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17925">target</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17926">></span>
  <span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17928"></</span><span style="color:#000080;background-color:#efefef;font-weight:bold;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17929">mapping</span><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17930">></span></pre>
                      <pre style="font-family:Menlo;font-size:9pt;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17861"><span style="background-color:#efefef;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_18323">I get the following exception:</span></pre>
                      <pre style="font-family:Menlo;font-size:9pt;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17861"><span style="background-color:#efefef;">
</span></pre>
                      <pre id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17861"><span style="background-color:rgb(239, 239, 239);" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_18388"><font id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_18385" face="Menlo"><span style="font-size:12px;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_18386">2017-02-22 06:31:17,086 [] [midPointScheduler_Worker-6] ERROR (com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeResultHandler): Import of object shadow:07c95824-ee5f-40b1-abba-1935c578b632(************) from <a class="moz-txt-link-freetext" href="resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3ffff(Demo">resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3ffff(Demo</a> CAS DBTable) failed: 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>}assignment has no definition (in container value CTD ({.../common/common-3}AssignmentType))while parsing (
  {...common/common-3}assignment =>
    (
      {...common/common-3}construction =>
        (
          {...common/common-3}resourceRef =>
            (
              oid =>
                parser ValueParser(DOMa, oid: ef2bc95b-76e0-48e2-86d6-3d4f02d3eeee)
              type =>
                parser ValueParser(DOMa, type: ResourceType)
            )
        )
    )
)</span><span style="font-size:9pt;" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_18387">
</span></font></span></pre>
                      <pre id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17861">Please help me know the mistake i am doing.</pre>
                      <pre id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17861">Thanks,</pre>
                      <pre id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17861">Prabhakar.</pre>
                    </div>
                  </div>
                </div>
                <br>
                <br>
              </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>
    <pre class="moz-signature" cols="72">-- 
Ivan Noris
Senior Identity Engineer
evolveum.com
</pre>
  </body>
</html>