<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Hello, <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Please use “targetType” instead of string “type” in your query. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>So the query should be:<br> inducement/targetRef matches (relation=default and targetType = RoleType)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>You can find more information here: <o:p></o:p></span></p><p class=MsoNormal style='text-indent:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><a href="https://docs.evolveum.com/midpoint/reference/support-4.9/concepts/query/midpoint-query-language/introduction/#reference-filters">https://docs.evolveum.com/midpoint/reference/support-4.9/concepts/query/midpoint-query-language/introduction/#reference-filters</a><o:p></o:p></span></p><p class=MsoNormal style='text-indent:36.0pt'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Martin<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> midPoint <midpoint-bounces@lists.evolveum.com> <b>On Behalf Of </b>Marie Ioannou via midPoint<br><b>Sent:</b> streda 15. januára 2025 11:43<br><b>To:</b> Marie Ioannou via midPoint <midpoint@lists.evolveum.com><br><b>Cc:</b> Marie Ioannou <marie.ioannou@itconcepts.ch><br><b>Subject:</b> [midPoint] Filter roles with inducements of a given type<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='color:black'>Dear all,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='color:black'>I try to filter all roles which have an inducement of type RoleType.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'>I tried the filter<i> inducement/targetRef matches (relation=default and type=RoleType)</i> but I get the error message "Additional unsupported filter specified: type=RoleType". Note that the filter <i>inducement/targetRef matches (relation=default)</i> works fine.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='color:black'>Thank you for your help,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p></div><div id=Signature><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=576 style='width:431.7pt;background:white;border-collapse:collapse'><tr style='height:14.8pt'><td width=576 colspan=2 style='width:431.7pt;padding:.75pt .75pt .75pt .75pt;height:14.8pt'><p><b><span style='font-size:10.0pt;font-family:"Verdana",sans-serif;color:#4B4040'>Dr. Marie Ioannou</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#242424'><o:p></o:p></span></p><p><b><span style='font-size:10.0pt;font-family:"Verdana",sans-serif;color:#4B4040'>ITConcepts Professional GmbH</span></b><b><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#2C2C2C'> </span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#242424'><o:p></o:p></span></p></td></tr><tr style='height:14.8pt'><td width=576 colspan=2 style='width:431.7pt;padding:.75pt .75pt .75pt .75pt;height:14.8pt;box-sizing: border-box'></td></tr></table><tr style='height:14.8pt'><td width=576 colspan=2 style='width:431.7pt;padding:.75pt .75pt .75pt .75pt;height:14.8pt;box-sizing: border-box'></td></tr><tr style='height:28.1pt'><td width=576 colspan=2 style='width:431.7pt;padding:.75pt .75pt .75pt .75pt;height:28.1pt;box-sizing: border-box'></td></tr><tr style='height:14.8pt'><td width=576 colspan=2 style='width:431.7pt;padding:.75pt .75pt .75pt .75pt;height:14.8pt;box-sizing: border-box'></td></tr><tr style='height:14.8pt'><td width=576 colspan=2 style='width:431.7pt;padding:.75pt .75pt .75pt .75pt;height:14.8pt;box-sizing: border-box'></td></tr><tr style='height:15.5pt'><td width=394 style='width:295.75pt;padding:.75pt .75pt .75pt .75pt;height:15.5pt;box-sizing: border-box'></td><td width=181 style='width:135.95pt;padding:.75pt .75pt .75pt .75pt;height:15.5pt;box-sizing: border-box'></td></tr><tr style='height:54.75pt'><td width=576 colspan=2 style='width:431.7pt;padding:.75pt .75pt .75pt .75pt;height:54.75pt;box-sizing: border-box'></td></tr></table><div><p class=MsoNormal><span style='font-family:"Calibri",sans-serif;color:black'><o:p> </o:p></span></p></div></div></div></body></html>