[midPoint] Append assignments to previous user assignments

Jason Everling jeverling at bshp.edu
Thu Feb 9 21:09:46 CET 2017


Same here, most if not all assignments are done via the default object
template based on conditions,

JASON

On Thu, Feb 9, 2017 at 2:01 PM, Mikko Pekkarinen <
mikko.pekkarinen at datactica.fi> wrote:

> 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 <+54%2011%204824-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/3667edd9/attachment.htm>


More information about the midPoint mailing list