[midPoint] Append assignments to previous user assignments

Rodrigo Yanis ryanis at identicum.com
Thu Feb 9 21:08:38 CET 2017


Hello Miko

Thanks for your reply. We've thought of that too, unfortunately this cannot
be approached that way as per other business restrictions and complexities,
and must be handled through an inbound mapping on the resource.

Any other idea?
Regards,


*Rodrigo Yanis.*
Identicum S.A.
Jorge Newbery 3226
Tel: +54 (11) 4824-9971
ryanis at identicum.com
www.identicum.com

2017-02-09 17:01 GMT-03:00 Mikko Pekkarinen <mikko.pekkarinen at datactica.fi>:

> Hello,
>
>
> 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.
>
>
> Mikko
>
>
>
> ------------------------------
> *Lähettäjä:* midPoint <midpoint-bounces at lists.evolveum.com> käyttäjän
> puolestaRodrigo Yanis <ryanis at identicum.com>
> *Lähetetty:* 9. helmikuuta 2017 21:50
> *Vastaanottaja:* midPoint General Discussion
> *Aihe:* [midPoint] Append assignments to previous user assignments
>
> Hello everyone,
>
> 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.
>
> 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.
>
> Simplified inbound mapping look like this:
>
>> <inbound>
>>      <expression>
>>          <script>
>>              <code>
>> assignmentList = [];
>> ...
>
>                   assignmentList,add(assignment);
>
>                         ...
>> return assignmentList;
>>   </code>
>>         </script>
>>     </expression>
>>     <target>
>>         <c:path>assignment</c:path>
>>     </target>
>> </inbound>
>
>
> Do you know any setting I could try out so already present assignments are
> not removed?
>
> Thanks,
>
> *Rodrigo Yanis.*
> Identicum S.A.
> Jorge Newbery 3226
> Tel: +54 (11) 4824-9971
> ryanis at identicum.com
> www.identicum.com
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170209/5f01c742/attachment.htm>


More information about the midPoint mailing list