<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>Thanks Pavol and Radovan for helping me.<br>
Based on Pavol's link I succeeded to make it work with following metarole:<br>
<span style="font-family: Consolas,monospace; font-size: 9pt; color: rgb(0, 111, 201);"><span style="color: rgb(0, 111, 201);"><role xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" oid="8e8db1f5-6841-4774-a2df-c71b64c6a5b2"></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);">    <name>metarole-managerapproves</name></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);">    <inducement id="1"></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);">        <focusMappings></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);">            <mapping></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);">                <strength>strong</strength></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);">                <expression></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);">                    <value></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);">                    </value></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);">                </expression></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);">                <target></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);">                    <path>approverExpression</path></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);">                </target></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);">            </mapping></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);">        </focusMappings></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);">    </inducement></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);"></role></span></span><br>
<br>
Best Regards,<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>