<div dir="ltr">Hi MiSo,<div><br></div><div>please read this HOWTO:</div><div><a href="https://wiki.evolveum.com/pages/viewpage.action?pageId=17760526">https://wiki.evolveum.com/pages/viewpage.action?pageId=17760526</a><br></div><div><br></div><div>To send all values of one multivalue attribute (not only changes), set readReplaceMode=true on concrete attribute, for example</div><div><pre style="color:rgb(0,0,0);font-family:'Courier New'"><span style="color:rgb(128,128,128);font-style:italic"><attribute><br></span><span style="color:rgb(128,128,128);font-style:italic"> <ref>ri:groups</ref><br></span><span style="color:rgb(128,128,128);font-style:italic"> <readReplaceMode>true</readReplaceMode></span></pre><pre style="color:rgb(0,0,0);font-family:'Courier New'"><span style="font-family:arial,sans-serif;color:rgb(34,34,34)">...</span></pre></div><div><pre style="color:rgb(0,0,0);font-family:'Courier New'"><span style="color:rgb(128,128,128);font-style:italic"></attribute></span></pre></div><div><br></div><div>Gusto</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-09 12:00 GMT+02:00 <span dir="ltr"><<a href="mailto:midpoint-request@lists.evolveum.com" target="_blank">midpoint-request@lists.evolveum.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send midPoint mailing list submissions to<br>
<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:midpoint-request@lists.evolveum.com">midpoint-request@lists.evolveum.com</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:midpoint-owner@lists.evolveum.com">midpoint-owner@lists.evolveum.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of midPoint digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. scriptedSQL connector get values in update opperation<br>
(Steklac Michal)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 9 Sep 2015 07:38:04 +0000<br>
From: Steklac Michal <<a href="mailto:Michal_Steklac@datalan.sk">Michal_Steklac@datalan.sk</a>><br>
To: "<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>" <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>><br>
Subject: [midPoint] scriptedSQL connector get values in update<br>
opperation<br>
Message-ID: <1441784284.2818.5.camel@steky><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
I use scriptedSQL connector and i have multivalued attribute (groups for user in midPoint). How I can get all values for this attributes in update operation? Or how I get all add and remove values? I need this values for update data in DB.<br>
<br>
this code return me add values:<br>
case "ADD_ATTRIBUTE_VALUES":<br>
def groups = attributes?.get("GROUPS");<br>
groups.eachWithIndex { it, i -> println "ADD $i: $it"}<br>
break<br>
<br>
thanks & regards<br>
MiSo<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.evolveum.com/pipermail/midpoint/attachments/20150909/3a7899b2/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.evolveum.com/pipermail/midpoint/attachments/20150909/3a7899b2/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<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/mailman/listinfo/midpoint</a><br>
<br>
<br>
------------------------------<br>
<br>
End of midPoint Digest, Vol 41, Issue 7<br>
***************************************<br>
</blockquote></div><br></div>