[midPoint] scriptedSQL connector get values in update opperation

Steklac Michal Michal_Steklac at datalan.sk
Wed Sep 9 09:38:04 CEST 2015


Hi,

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.

this code return me add values:
case "ADD_ATTRIBUTE_VALUES":
def groups = attributes?.get("GROUPS");
groups.eachWithIndex { it, i -> println "ADD $i: $it"}
break

thanks & regards
MiSo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150909/3a7899b2/attachment.htm>


More information about the midPoint mailing list