<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Pavol,<br>
Thanks for the answer. Unfortunately I could not find any information in midPoint wiki or lists about how to set approverExpression by using focusMappings. I want to set following ApproverExpression to all AD roles:<br>
<span style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);"><span style="color: rgb(0, 111, 201);">    <approverExpression></span></span><br style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);">
<span style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);"><span style="color: rgb(0, 111, 201);">        <description>Get user's managers (except the user itself)</description></span></span><br style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);">
<span style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);"><span style="color: rgb(0, 111, 201);">        <script></span></span><br style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);">
<span style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);"><span style="color: rgb(0, 111, 201);">            <code>midpoint.getManagersOidsExceptUser(object)</code></span></span><br style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);">
<span style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);"><span style="color: rgb(0, 111, 201);">        </script></span></span><br style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);">
<span style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);"><span style="color: rgb(0, 111, 201);">    </approverExpression></span></span><br style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);">
<br>
Could you help me how should I write focusMappings for that code in metarole? What should be the mapping target and what should be the expression?<br>
Thanks,<br>
Aivo Kuhlberg<br>
</p>
<br>
<hr>
<font face="Arial" color="Gray" size="2">Käesolev e-kiri võib sisaldada asutusesiseseks kasutamiseks tunnistatud teavet.<br>
This e-mail may contain information which is classified for official use.</font>
</body>
</html>