<div dir="ltr"><div><div>I would like to create a target selection group like:  "Managed by me" were a user could find all users for which he is a manager</div><div>I have an attribute : extension/managerEmailAddress</div><br></div>It works if I use <value>...</value><br><div><pre style="background-color:rgb(255,255,255);color:rgb(8,8,8);font-family:"JetBrains Mono",monospace;font-size:8.3pt"><<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:value </span><span style="color:rgb(23,74,212)">xmlns:</span><span style="color:rgb(135,16,148)">xsd</span><span style="color:rgb(6,125,23)">="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" </span><span style="color:rgb(135,16,148)">xsi</span><span style="color:rgb(23,74,212)">:type</span><span style="color:rgb(6,125,23)">="xsd:string"</span>><span style="background-color:rgb(237,252,237)"><a href="mailto:some@email.com">some@email.com</a></span></<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:value</span>><br></pre><pre style="background-color:rgb(255,255,255);color:rgb(8,8,8);font-family:"JetBrains Mono",monospace;font-size:8.3pt"></pre><pre style="background-color:rgb(255,255,255);color:rgb(8,8,8);font-family:"JetBrains Mono",monospace;font-size:8.3pt">But trying an expression it does not work:<br></pre><pre style="background-color:rgb(255,255,255);color:rgb(8,8,8);font-family:"JetBrains Mono",monospace;font-size:8.3pt"><<span style="color:rgb(0,51,179)">accessRequest</span>><br>    <<span style="color:rgb(0,51,179)">targetSelection</span>><br>        <<span style="color:rgb(0,51,179)">group</span>><br>            <<span style="color:rgb(0,51,179)">identifier</span>>managed-by-me</<span style="color:rgb(0,51,179)">identifier</span>><br>            <<span style="color:rgb(0,51,179)">display</span>><br>                <<span style="color:rgb(0,51,179)">label</span>>Users managed by me</<span style="color:rgb(0,51,179)">label</span>><br>                <<span style="color:rgb(0,51,179)">icon</span>><br>                    <<span style="color:rgb(0,51,179)">cssClass</span>>fa-solid fa-people-roof</<span style="color:rgb(0,51,179)">cssClass</span>><br>                </<span style="color:rgb(0,51,179)">icon</span>><br>            </<span style="color:rgb(0,51,179)">display</span>><br>            <<span style="color:rgb(0,51,179)">collection</span>><br>                <<span style="color:rgb(0,51,179)">filter</span>><br>                    <<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:and</span>><br>                        <<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:equal</span>><br>                            <<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:path</span>>activation/administrativeStatus</<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:path</span>><br>                            <<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:value</span>>enabled</<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:value</span>><br>                        </<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:equal</span>><br>                        <<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:equal</span>><br>                            <<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:matching</span>>stringIgnoreCase</<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:matching</span>><br>                            <<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:path </span><span style="color:rgb(23,74,212)">xmlns:</span><span style="color:rgb(135,16,148)">orgsync</span><span style="color:rgb(6,125,23)">="<a href="http://midpoint.evolveum.com/xml/ns/story/orgsync/ext">http://midpoint.evolveum.com/xml/ns/story/orgsync/ext</a>"</span>>c:extension/orgsync:managerEmailAddress</<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:path</span>><br>                            <span style="color:rgb(255,0,0)"><<span style="background-color:rgb(255,255,255)">expression><br>                                <script><br>                                    <code><br>                                        return "<a href="mailto:some@email.com">some@email.com</a>"<br>                                    </code><br>                                </script><br>                            </expression></span></span><br>                        </<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:equal</span>><br>                    </<span style="color:rgb(135,16,148)">q</span><span style="color:rgb(0,51,179)">:and</span>><br>                </<span style="color:rgb(0,51,179)">filter</span>><br>            </<span style="color:rgb(0,51,179)">collection</span>><br>        </<span style="color:rgb(0,51,179)">group</span>><br>    </<span style="color:rgb(0,51,179)">targetSelection</span>><br><br></pre><pre style="background-color:rgb(255,255,255);color:rgb(8,8,8);font-family:"JetBrains Mono",monospace;font-size:8.3pt">Is it possible? to use an expression in the filter for  accessRequest/targetSelection  ?<br><br></pre><pre style="background-color:rgb(255,255,255);color:rgb(8,8,8);font-family:"JetBrains Mono",monospace;font-size:8.3pt">thanks<br><br></pre></div></div>