<html><head></head><body><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><br id="yui_3_16_0_ym19_1_1487755132568_24865">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24869">    Property mapping.<br id="yui_3_16_0_ym19_1_1487755132568_24870">    Defines how properties of user object are set up.<br id="yui_3_16_0_ym19_1_1487755132568_24871">    This specific definition sets a full name as a concatenation<br id="yui_3_16_0_ym19_1_1487755132568_24872">    of givenName and familyName.<br id="yui_3_16_0_ym19_1_1487755132568_24873">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24877">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24884">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24888">    <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><br id="yui_3_16_0_ym19_1_1487755132568_24897">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24901">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24905">    <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><br id="yui_3_16_0_ym19_1_1487755132568_24914">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24918">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24922">    <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><br id="yui_3_16_0_ym19_1_1487755132568_24926">      <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>http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy<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><br id="yui_3_16_0_ym19_1_1487755132568_24933">      <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><br id="yui_3_16_0_ym19_1_1487755132568_24937">        givenName + ' ' + familyName<br id="yui_3_16_0_ym19_1_1487755132568_24938">      <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><br id="yui_3_16_0_ym19_1_1487755132568_24942">    <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><br id="yui_3_16_0_ym19_1_1487755132568_24946">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24950">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24954">    <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><br id="yui_3_16_0_ym19_1_1487755132568_24963">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24967"><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><br id="yui_3_16_0_ym19_1_1487755132568_24971"><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><br id="yui_3_16_0_ym19_1_1487755132568_24975">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24982">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24989">  <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><br id="yui_3_16_0_ym19_1_1487755132568_24993">    <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><br id="yui_3_16_0_ym19_1_1487755132568_24997">      <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><br id="yui_3_16_0_ym19_1_1487755132568_25004">      <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><br id="yui_3_16_0_ym19_1_1487755132568_25011">    <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><br id="yui_3_16_0_ym19_1_1487755132568_25015">  <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><br id="yui_3_16_0_ym19_1_1487755132568_25019">  <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><br id="yui_3_16_0_ym19_1_1487755132568_25023">    <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><br id="yui_3_16_0_ym19_1_1487755132568_25032">  <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><br id="yui_3_16_0_ym19_1_1487755132568_25036"><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><br id="yui_3_16_0_ym19_1_1487755132568_25040"><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><br id="yui_3_16_0_ym19_1_1487755132568_25044">  <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><br id="yui_3_16_0_ym19_1_1487755132568_25051">  <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><br id="yui_3_16_0_ym19_1_1487755132568_25058">  <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><br id="yui_3_16_0_ym19_1_1487755132568_25062">    <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><br id="yui_3_16_0_ym19_1_1487755132568_25066">      <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><br id="yui_3_16_0_ym19_1_1487755132568_25073">      <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><br id="yui_3_16_0_ym19_1_1487755132568_25080">    <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><br id="yui_3_16_0_ym19_1_1487755132568_25084">  <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><br id="yui_3_16_0_ym19_1_1487755132568_25088">  <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><br id="yui_3_16_0_ym19_1_1487755132568_25092">    <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><br id="yui_3_16_0_ym19_1_1487755132568_25101">  <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><br id="yui_3_16_0_ym19_1_1487755132568_25105"><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><br id="yui_3_16_0_ym19_1_1487755132568_25109"><br id="yui_3_16_0_ym19_1_1487755132568_25110"></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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17865"><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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17872">       <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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17876">          <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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17880">           <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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17884">               <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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17888">                    <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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17896">               <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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17900">          <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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17904">         <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>     <br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17908">   <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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17912">   <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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17916">    <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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17923">   <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><br id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_17927">  <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;"><br></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 face="Menlo" id="yiv2718110418yui_3_16_0_ym19_1_1487755132568_18385"><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 resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3ffff(Demo CAS DBTable) failed: Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}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"><br></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></body></html>