[midPoint] Bypass synchronization of a user during the reconciliation from a resource

Pavol Mederly mederly at evolveum.com
Fri Jun 30 09:42:33 CEST 2023


Hello Ethan,

just to clarify: the page you referenced is a (temporary) design 
document. The feature described there materialized into something that 
is called *Object marks* (in particular, shadow marks in 4.7) and can be 
seen here: https://docs.evolveum.com/midpoint/reference/mark/.

I am not sure whether/how it applies to the original question. Also, 
shadow marks are primarily to be manually set by an administrator; their 
setting by mapping may or may not be a good idea. :)

-- 
Pavol Mederly
Software developer
evolveum.com

On 29/06/2023 17:05, Ethan Kromhout via midPoint wrote:
> I wonder if you could use a mapping to add a tag 
> (https://docs.evolveum.com/midpoint/devel/design/simulations/tagging/) 
> based on an attribute. You would have to be on a very recent version 
> of midPoint, and I think the native repository is required.
>
> Ethan
>
> On 6/29/23 10:33, Maxwell, Gary via midPoint wrote:
>> Thank you for the response Gustav.
>>
>> We also tried adding a condition to the objectSynchronization of the 
>> resource?
>>
>> The condition checks the value of the user attribute and return a 
>> true or false condition?
>>
>> This seems to work when we “import” the record into the resource 
>> however the condition script is not executed when we perform a 
>> “Reconcile” on the user.
>>
>> We need the condition to execute during an “import” and when a 
>>   “Reconcile” is performed.
>>
>> Can you help us understand why the behavior is different ?
>>
>> -Gary
>>
>> *From:* Pálos Gustáv <gustav.palos at gmail.com>
>> *Sent:* Wednesday, June 28, 2023 9:55 
>> PMhttps://docs.evolveum.com/midpoint/devel/design/simulations/tagging/
>> *To:* midPoint General Discussion <midpoint at lists.evolveum.com>
>> *Cc:* Maxwell, Gary <Maxwell_G at fortlewis.edu>
>> *Subject:* Re: [midPoint] Bypass synchronization of a user during the 
>> reconciliation from a resource
>>
>> Hi,
>>
>> just unlinking the resource is not enough (and condition in synchro 
>> to never link again)?
>>
>> Or You can put conditions to all resource attribute mappings what you 
>> don't need to sync.
>>
>> best regards,
>>
>> Gustav
>>
>> st 28. 6. 2023 o 18:24 Maxwell, Gary via midPoint 
>> <midpoint at lists.evolveum.com <mailto:midpoint at lists.evolveum.com>> 
>> napísal(a):
>>
>>     We would like to disable the synchronization processing of a user
>>     depending upon the value of an attribute of the user. What would be
>>     the best way to check this attribute of the user and then disable
>>     its synchronization during the processing of the resource?
>>
>>     Thanks Again,
>>
>>     -Gary
>>
>>     _______________________________________________
>>     midPoint mailing list
>> midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>> https://lists.evolveum.com/mailman/listinfo/midpoint
>> <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.evolveum.com%2Fmailman%2Flistinfo%2Fmidpoint&data=05%7C01%7C%7C05f1924325384862d2fc08db78adc743%7C58b3d54f16c942d3af081fcabd095666%7C1%7C0%7C638236460016453058%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FG%2FTm78J1RcO7kRhvcoaPcsimXq9n205l%2BKXzoc53Rw%3D&reserved=0>
>>
>>
>> -- 
>>
>> s pozdravom
>>
>> Gustáv Pálos
>>
>>
>> _______________________________________________
>> 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/20230630/4176eeea/attachment-0001.htm>


More information about the midPoint mailing list