<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi,<br></div><div><br></div><div>I'm facing an issue where I just can't get attributes from Resource1 to be passed to Resource2.<br></div><div><br></div><div>So I have inbound mapping on resource1:<br></div><pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'JetBrains Mono',monospace;font-size:9,8pt;"><span class="colour" style="color:rgb(232, 191, 106)"><attribute><br>    <</span><span class="colour" style="color:rgb(152, 118, 170)">c</span><span class="colour" style="color:rgb(232, 191, 106)">:ref </span><span class="colour" style="color:rgb(186, 186, 186)">xmlns:</span><span class="colour" style="color:rgb(152, 118, 170)">ri</span><span class="colour" style="color:rgb(106, 135, 89)">="<a target="_blank" href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>"</span><span class="colour" style="color:rgb(232, 191, 106)">></span>ri:<span class="colour" style="color:rgb(232, 191, 106)">data</</span><span class="colour" style="color:rgb(152, 118, 170)">c</span><span class="colour" style="color:rgb(232, 191, 106)">:ref><br>    <inbound><br>        <authoritative></span>true<span class="colour" style="color:rgb(232, 191, 106)"></authoritative><br>        <exclusive></span>false<span class="colour" style="color:rgb(232, 191, 106)"></exclusive><br>        <strength></span>normal<span class="colour" style="color:rgb(232, 191, 106)"></strength><br>        <target><br>            <</span><span class="colour" style="color:rgb(152, 118, 170)">c</span><span class="colour" style="color:rgb(232, 191, 106)">:path></span>$user/extension/<span class="colour" style="color:rgb(232, 191, 106)">data</</span><span class="colour" style="color:rgb(152, 118, 170)">c</span><span class="colour" style="color:rgb(232, 191, 106)">:path><br>        </target><br>    </inbound><br></attribute></span></pre><div>And outbound mapping on resource2:<br></div><pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'JetBrains Mono',monospace;font-size:9,8pt;"><span class="colour" style="color:rgb(232, 191, 106)"><attribute </span><span class="colour" style="color:rgb(186, 186, 186)">id</span><span class="colour" style="color:rgb(106, 135, 89)">="9"</span><span class="colour" style="color:rgb(232, 191, 106)">><br>    <</span><span class="colour" style="color:rgb(152, 118, 170)">c</span><span class="colour" style="color:rgb(232, 191, 106)">:ref </span><span class="colour" style="color:rgb(186, 186, 186)">xmlns:</span><span class="colour" style="color:rgb(152, 118, 170)">ri</span><span class="colour" style="color:rgb(106, 135, 89)">="<a target="_blank" href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>"</span><span class="colour" style="color:rgb(232, 191, 106)">></span>ri:<span class="colour" style="color:rgb(232, 191, 106)">data</</span><span class="colour" style="color:rgb(152, 118, 170)">c</span><span class="colour" style="color:rgb(232, 191, 106)">:ref><br>    <outbound><br>        <name>data</name><br>        <authoritative></span>true<span class="colour" style="color:rgb(232, 191, 106)"></authoritative><br>        <exclusive></span>false<span class="colour" style="color:rgb(232, 191, 106)"></exclusive><br>        <strength></span>normal<span class="colour" style="color:rgb(232, 191, 106)"></strength><br>        <expression><br>            <</span><span class="colour" style="color:rgb(152, 118, 170)">c</span><span class="colour" style="color:rgb(232, 191, 106)">:path </span><span class="colour" style="color:rgb(186, 186, 186)">xmlns:</span><span class="colour" style="color:rgb(152, 118, 170)">xsi</span><span class="colour" style="color:rgb(106, 135, 89)">="<a target="_blank" href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" </span><span class="colour" style="color:rgb(152, 118, 170)">xsi</span><span class="colour" style="color:rgb(186, 186, 186)">:type</span><span class="colour" style="color:rgb(106, 135, 89)">="t:ItemPathType"</span><span class="colour" style="color:rgb(232, 191, 106)">></span>$user/extension/<span class="colour" style="color:rgb(232, 191, 106)">data</</span><span class="colour" style="color:rgb(152, 118, 170)">c</span><span class="colour" style="color:rgb(232, 191, 106)">:path><br>        </expression><br>    </outbound><br></attribute></span></pre><div>+ resource2 depends on resource1 this way:<br></div><pre style="background-color:#2b2b2b;color:#a9b7c6;font-family:'JetBrains Mono',monospace;font-size:9,8pt;"><span style="color:#e8bf6a;"><dependency><br></span><span style="color:#e8bf6a;">    <resourceRef </span><span style="color:#bababa;">oid</span><span style="color:#6a8759;">="6d475d6b-8fa7-4fb0-b2de-f311b315339c"</span><span style="color:#e8bf6a;">/><br></span><span style="color:#e8bf6a;">    <strictness></span>lax<span style="color:#e8bf6a;"></strictness><br></span><span style="color:#e8bf6a;"></dependency></span></pre><div><br></div><div>Both resources are assigned on User creation via GUI. Account from Resource1 is retrieved and mapped to the user. The idea here is to pass the just mapped data to Resource2.<br></div><div>The inbound mapping works correctly but the inbound value is not present during the outbound mapping processing thus the account on Resource2 lacks required data.<br></div><div><br></div><div>What would be the correct way to handle that?<br></div><div>I'll add that after triggering "Reconcile" on the user after it's created the data gets updated on Resource2 correctly, but I would like the process to be automated.<br></div><div><br></div><div>Thanks in advance!<br></div><div><br></div><div id="Zm-_Id_-Sgn" data-zbluepencil-ignore="true" data-sigid="5636858000000187019"><div>Kind Regards,<br></div><div>Kajetan Parzyszek<br></div></div><div><br></div></div><br></body></html>