[midPoint] change assignment

Joan Carles Badia joancarles.badia at udl.cat
Tue Jun 1 16:53:26 CEST 2021


Thank you very much!
On 1 Jun 2021, 13:44 +0200, Paulo Fernandes de Souza Junior via midPoint <midpoint at lists.evolveum.com>, wrote:
> Hi Joan,
>
> You need to use:
> <target>
> <c:path>$focus/organization</c:path>
> <set>
> <predefined>all</predefined>
> </set>
> </target>
>
> in the schemaHandling definition. Take a look at
> https://docs.evolveum.com/midpoint/reference/expressions/mappings/inbound-mapping/#range-of-inbound-mappings
>
>
> Paulo Fernandes de Souza JĂșnior
> NQPPPS
> Senado Federal - PRODASEN
> Fone: 61 3303.3924
>
>
>
> ________________________________________
> De: midPoint <midpoint-bounces at lists.evolveum.com> em nome de Joan Carles via midPoint <midpoint at lists.evolveum.com>
> Enviado: segunda-feira, 31 de maio de 2021 05:09
> Para: midpoint at lists.evolveum.com
> Cc: Joan Carles
> Assunto: [midPoint] change assignment
>
> Hello everybody,
>
> Do you know how I have to configure synchronization in a resource, in
> order to change organization assignment in midpoint, when it changes in
> origin?
>
> When I use reconcile, midpoint add the new assigment, but without
> deleting the older. As a result I have two assignments. I want to
> substitute the old by the new assignment.
>
> Thank you!!
>
> Here is my code:
>
> <synchronization>
>
> <objectSynchronization>
> <name>sincronitza_departaments</name>
> <objectClass>AccountObjectClass</objectClass>
> <kind>generic</kind>
> <intent>orgunit</intent>
> <focusType>c:OrgType</focusType>
> <enabled>true</enabled>
> <correlation>
> <q:equal xmlns="">
> <q:path>identifier</q:path>
> <expression xmlns="">
> <path>$focus/attributes/orgnum</path>
> </expression>
> </q:equal>
> </correlation>
> <reconcile>false</reconcile>
> <opportunistic>true</opportunistic>
> <reaction>
> <situation>linked</situation>
> <synchronize>true</synchronize>
> <reconcile>false</reconcile>
> <action>
> <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</handlerUri>
> <order>before</order>
> </action>
> <action>
> <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri>
> <order>after</order>
> </action>
> </reaction>
> <reaction>
> <situation>deleted</situation>
> <synchronize>true</synchronize>
> <action>
> <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#deleteFocus</handlerUri>
> </action>
> </reaction>
> <reaction>
> <situation>unlinked</situation>
> <synchronize>true</synchronize>
> <action>
> <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</handlerUri>
> </action>
> </reaction>
> <reaction>
> <situation>unmatched</situation>
> <synchronize>true</synchronize>
> <reconcile>false</reconcile>
> <action>
> <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</handlerUri>
> </action>
> </reaction>
> </objectSynchronization>
> </synchronization>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20210601/d686e109/attachment.htm>


More information about the midPoint mailing list