<div dir="ltr">Same here, most if not all assignments are done via the default object template based on conditions,</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">JASON</div></div></div>
<br><div class="gmail_quote">On Thu, Feb 9, 2017 at 2:01 PM, Mikko Pekkarinen <span dir="ltr"><<a href="mailto:mikko.pekkarinen@datactica.fi" target="_blank">mikko.pekkarinen@datactica.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello,</p>
<p><br>
</p>
<p>I've had the same problem. I worked around it by not creating any assignments in the inbound mappings. Instead, I stored the relevant parameters in user's fields (organization in my case), and created the assignment in user template.</p>
<p><br>
</p>
<p>Mikko<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div id="m_-3859434820918698234divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>Lähettäjä:</b> midPoint <<a href="mailto:midpoint-bounces@lists.evolveum.com" target="_blank">midpoint-bounces@lists.<wbr>evolveum.com</a>> käyttäjän puolestaRodrigo Yanis <<a href="mailto:ryanis@identicum.com" target="_blank">ryanis@identicum.com</a>><br>
<b>Lähetetty:</b> 9. helmikuuta 2017 21:50<br>
<b>Vastaanottaja:</b> midPoint General Discussion<br>
<b>Aihe:</b> [midPoint] Append assignments to previous user assignments</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">Hello everyone,
<div><br>
</div>
<div>I'm having issues keeping the user's previous assignments when a resource inbound mapping calculates and sets a list of assignments to that user.</div>
<div><br>
</div>
<div>I've already tried with tolerant setting on the mapping (set to true), but it still removes the old assignments and inserts the new, calculated ones.</div>
<div><br>
</div>
<div>Simplified inbound mapping look like this: </div>
<div>
<div>
<div class="m_-3859434820918698234gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<font size="1"><inbound><br>
<expression><br>
<script><br>
<code><br>
<span class="m_-3859434820918698234gmail-Apple-tab-span" style="white-space:pre-wrap"></span>assignmentList = [];<br>
<span class="m_-3859434820918698234gmail-Apple-tab-span" style="white-space:pre-wrap">...</span></font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<font size="1">assignmentList,add(assignment)<wbr>;</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<font size="1"> ...<span class="m_-3859434820918698234gmail-Apple-tab-span" style="white-space:pre-wrap"><br>
</span><span class="m_-3859434820918698234gmail-Apple-tab-span" style="white-space:pre-wrap"></span>return assignmentList;<br>
<span style="white-space:pre-wrap"> </span></code><br>
</script><br>
</expression><br>
<target><br>
<c:path>assignment</c:path><br>
</target><br>
</inbound></font></blockquote>
</div>
<div dir="ltr"><br>
</div>
<div>Do you know any setting I could try out so already present assignments are not removed?</div>
<div><br>
</div>
<div>Thanks,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><font face="arial, helvetica, sans-serif"><b>Rodrigo Yanis.</b><br>
<img src="http://www.identicum.com/img/favicon.ico">Identicum S.A.<br>
</font>Jorge Newbery 3226<br>
Tel: <a href="tel:+54%2011%204824-9971" value="+541148249971" target="_blank">+54 (11) 4824-9971</a><font face="arial, helvetica, sans-serif"><br>
<a href="mailto:ryanis@identicum.com" target="_blank"><font color="#0b5394">ryanis@identicum.com</font></a><br>
<a href="http://www.identicum.com/" target="_blank"><font color="#0b5394">www.identicum.com</font></a></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></div>