[midPoint] Correlation v 4.8

Michal Sakac seky at civ.zcu.cz
Mon Jan 22 15:22:33 CET 2024


OK now I got new Error 


Too many iterations (100) for focus(user:null(XXX)): cannot determine values that satisfy constraints: Found conflicting existing object with property name = PP({.../common/common-3}name):[PPV(PolyString:XX)]: user:f3326efd-7de8-44b6-8dd6-34ff77f52902(XXX)

Resource is configured like HR for read and ADD focus when new user is created. But when I have user in MP and same user in HR I got this error.







> 22. 1. 2024 v 15:17, Michal Sakac <seky at civ.zcu.cz>:
> 
> Hi I try that but I got same error 
> 
> 
> FATAL_ERROR	Item {http://midpoint.evolveum.com/xml/ns/public/common/common-3}equal has no definition (in value CTD ({.../common/common-3}CorrelationDefinitionType))while parsing ( {...common/common-3}equal => ( {...common/common-3}expression => ( {...common/common-3}path => parser ValueParser(DOM-less, $account/attributes/ri:ID, namespace declarations) ) {...common/common-3}path => parser ValueParser(DOM-less, name, namespace declarations) ) )
> 
> 
> <correlation>
>     <equal>
>         <path>name</path>
>         <expression>
>             <path>$account/attributes/ri:ID</path>
>         </expression>
>     </equal>
> </correlation>
> 
> 
> I don’t know what wrong with this configuration. GUI is horrible for this. I don’t know how to click correlation rule in GUI. 
> 
>> 22. 1. 2024 v 14:57, Fabian Noll-Dukiewicz <fabian.noll-dukiewicz at veryfy.gmbh>:
>> 
>> Hi Michal,
>>  
>> the correlation for midpoint 4.8 is described here: https://docs.evolveum.com/midpoint/reference/support-4.8/correlation/
>>  
>> You can use the smart item-based correlation rule or the legacy filter-based correlation rule. If you use the legacy one, you only have to add the tag <filter> before <q:equal> and the end tag </filter> after </q:equal>.
>>  
>> Kind regards,
>> Fabian
>>  
>> --
>> Fabian Noll-Dukiewicz
>> Spezialist Identity & Access Management | Geschäftsführer
>> Tel.: +49 152 244 63 211
>> Email: fabian.noll-dukiewicz at veryfy.gmbh <mailto:fabian.noll-dukiewicz at veryfy.gmbh>
>> Web: https://veryfy.gmbh <https://veryfy.gmbh/>  
>>  
>>  
>> Von: midPoint <midpoint-bounces at lists.evolveum.com <mailto:midpoint-bounces at lists.evolveum.com>> im Auftrag von Michal Sakac via midPoint <midpoint at lists.evolveum.com <mailto:midpoint at lists.evolveum.com>>
>> Datum: Montag, 22. Januar 2024 um 14:43
>> An: midpoint at lists.evolveum.com <mailto:midpoint at lists.evolveum.com> <midpoint at lists.evolveum.com <mailto:midpoint at lists.evolveum.com>>
>> Cc: Michal Sakac <seky at civ.zcu.cz <mailto:seky at civ.zcu.cz>>
>> Betreff: [midPoint] Correlation v 4.8
>> 
>> Hello, 
>> correlations do not work for me in midpoint version 4.8.
>> When I try to create a correlation rule in the new GUI I don't understand how to enter it.
>> If I try the same procedure through Midpoint studio, I get an error. Could someone help me?
>> I need to compare name and attribute on resource.
>>  
>>  
>> <correlation>
>>     <q:equal>
>>         <q:path>name</q:path>
>>         <expression>
>>             <path>$account/attributes/ri:ID</path>
>>         </expression>
>>     </q:equal>
>> </correlation>
>>  
>>  
>> I got this error :
>>  
>> Item {http://prism.evolveum.com/xml/ns/public/query-3}equal has no definition (in value CTD ({.../common/common-3}CorrelationDefinitionType))while parsing ( {http://prism.evolveum.com/xml/ns/public/query-3}equal => ( {...common/common-3}expression => ( {...common/common-3}path => parser ValueParser(DOM-less, $account/attributes/ri:kodpra, namespace declarations) ) {http://prism.evolveum.com/xml/ns/public/query-3}path => parser ValueParser(DOM-less, name, namespace declarations) ) )
>>  
>>  
>>  
>> Thx for help.
>>  
>>  
>> Michal Sakac
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20240122/4ab1a789/attachment.htm>


More information about the midPoint mailing list