<div dir="ltr">...I cannot see any <level> on said page ;)<div><br></div><div>On a serious note, the page was created pre-4.0 and the question is, if this small change is enough...</div><div>Anyway, good catch, thank you!<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p><span style="font-family:Arial,sans-serif;font-size:10pt">--P<br></span></p></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">st 2. 9. 2020 v 11:05 odesílatel Loïc Schamber via midPoint <<a href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="FR-CH">
<div class="gmail-m_-2790937141479781694WordSection1">
<p class="MsoNormal">Hello Midpoint community !<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-GB">I found a small error while reading the documentation in order to set an approval policy.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">In the following link there is two XML sample :
<a href="https://wiki.evolveum.com/display/midPoint/Using+Metaroles+for+Policy+Configuration" target="_blank">
https://wiki.evolveum.com/display/midPoint/Using+Metaroles+for+Policy+Configuration</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">In those sample we have the approval schema part defined like this:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:106.2pt;text-indent:35.4pt;line-height:15pt;background:white;vertical-align:baseline">
<span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51);border:1pt none windowtext;padding:0cm"><approvalSchema></span><span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51)"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:15pt;background:white;vertical-align:baseline">
<span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51);border:1pt none windowtext;padding:0cm"> <level></span><span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51)"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:15pt;background:white;vertical-align:baseline">
<span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51);border:1pt none windowtext;padding:0cm"> <name>Role approver</name></span><span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51)"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:15pt;background:white;vertical-align:baseline">
<span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51);border:1pt none windowtext;padding:0cm"> <approverRelation>approver</approverRelation></span><span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51)"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:15pt;background:white;vertical-align:baseline">
<span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51);border:1pt none windowtext;padding:0cm"> <evaluationStrategy>firstDecides</evaluationStrategy></span><span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51)"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:15pt;background:white;vertical-align:baseline">
<span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51);border:1pt none windowtext;padding:0cm"> <outcomeIfNoApprovers>reject</outcomeIfNoApprovers></span><span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51)"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:15pt;background:white;vertical-align:baseline">
<span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51);border:1pt none windowtext;padding:0cm"> </level></span><span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51)"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:15pt;background:white;vertical-align:baseline">
<span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51);border:1pt none windowtext;padding:0cm"> </approvalSchema><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:15pt;background:white;vertical-align:baseline">
<span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;border:1pt none windowtext;padding:0cm"><u></u> <u></u></span></p>
<p class="MsoNormal" style="line-height:15pt;background:white;vertical-align:baseline">
<span lang="EN-GB" style="color:black;border:1pt none windowtext;padding:0cm">However, in Midpoint 4.0.1 we should use <stage> rather than level.<br>
Using level wont result on an error, but the approvalSchema will be empty (<approvalSchema/>) which can create some questions like “WHY THE HELL MY POLICY IS NOT WORKING?!”
</span><span lang="EN-GB" style="font-family:"Segoe UI Emoji",sans-serif;color:black;border:1pt none windowtext;padding:0cm">😉</span><span lang="EN-GB" style="border:1pt none windowtext;padding:0cm"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:15pt;background:white;vertical-align:baseline">
<span lang="EN-GB" style="font-size:10.5pt;font-family:Consolas;color:rgb(51,51,51)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I don’t know if Documentation issue are relevant in the Mailing list or if Jira is more appropriate so let me know if it I shoud make a JIRA ticket!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><br>
<u></u><u></u></span></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td colspan="3" valign="top" style="padding:0cm">
<p class="MsoNormal"><b><span lang="EN-GB" style="font-size:10pt;font-family:Tahoma,sans-serif;color:rgb(226,45,54)">Loïc Schamber</span></b><span lang="EN-GB">
</span><span lang="EN-GB" style="font-size:10pt;font-family:Tahoma,sans-serif;color:rgb(145,145,145)"> | Junior IT Consultant<br>
</span><span lang="EN-GB"> <u></u><u></u></span></p>
</td>
</tr>
<tr>
<td width="188" valign="top" style="width:141pt;border-top:none;border-bottom:none;border-left:none;border-right:1.5pt solid rgb(226,45,54);padding:0cm">
<p class="MsoNormal"><a href="https://www.serial.ch/" target="_blank"><span style="color:blue;text-decoration:none"><img border="0" width="193" height="69" style="width: 2.0104in; height: 0.7187in;" id="gmail-m_-2790937141479781694_x0000_i1028" src="cid:1744e39d77f4cff311" alt="logo"></span></a><span><u></u><u></u></span></p>
</td>
<td width="10" style="width:7.5pt;padding:0cm">
<p class="MsoNormal"><span> <u></u><u></u></span></p>
</td>
<td width="497" valign="top" style="width:372.75pt;padding:0cm">
<p class="MsoNormal"><span style="font-size:9pt;font-family:Tahoma,sans-serif;color:rgb(226,45,54)"><a href="mailto:lschamber@serial.ch" target="_blank"><span style="color:rgb(226,45,54)">lschamber@serial.ch</span></a>
| <a href="tel:+41%2022%20555%2027%2069" target="_blank"><span style="color:rgb(145,145,145)">+41 22 555 27 69</span></a>
<br>
</span><span style="font-size:9pt;font-family:Tahoma,sans-serif;color:rgb(145,145,145)">Chemin du Pré-Fleuri 5 – CH 1228 Plan-les-Ouates
<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td valign="bottom" style="border-top:none;border-bottom:none;border-left:none;border-right:1.5pt solid rgb(226,45,54);padding:0cm">
<p class="MsoNormal"><a href="https://www.linkedin.com/company/redcactus-by-positivethinkingcompany" target="_blank"><span style="color:blue;text-decoration:none"><img border="0" width="19" height="19" style="width: 0.1979in; height: 0.1979in;" id="gmail-m_-2790937141479781694_x0000_i1027" src="cid:1744e39d77f5b16b22" alt="LinkedIn"></span></a><span>
</span><a href="https://www.instagram.com/positivethinkingcompany" target="_blank"><span style="color:blue;text-decoration:none"><img border="0" width="19" height="19" style="width: 0.1979in; height: 0.1979in;" id="gmail-m_-2790937141479781694_x0000_i1026" src="cid:1744e39d77f692e333" alt="Instagram"></span></a><span><u></u><u></u></span></p>
</td>
<td valign="bottom" style="padding:0cm"></td>
<td valign="bottom" style="padding:0cm">
<p class="MsoNormal"><span><a href="http://www.serial.ch" target="_blank"><b><span lang="EN-GB" style="font-size:9pt;font-family:Tahoma,sans-serif;color:rgb(226,45,54)">Redcactus by SERIAL
</span></b><span lang="EN-GB" style="font-size:9pt;font-family:Tahoma,sans-serif;color:rgb(226,45,54)">www.serial.ch</span></a></span><span lang="EN-GB"><br>
</span><span><a href="http://www.positivethinking.co" target="_blank"><span lang="EN-GB" style="font-size:9pt;font-family:Tahoma,sans-serif;color:rgb(145,145,145)">www.positivethinking.co</span></a></span><span lang="EN-GB"><br>
</span><span lang="EN-GB" style="font-size:3.5pt;font-family:Tahoma,sans-serif;color:rgb(145,145,145)"> </span><span lang="EN-GB"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<div class="MsoNormal" align="center" style="text-align:center"><span>
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><b><span lang="EN-GB" style="font-size:8pt;font-family:Roboto;color:rgb(226,45,54)">Help save paper, do you really need to print this email?</span></b><span lang="EN-GB"><br>
</span><i><span lang="EN-GB" style="font-size:8pt;font-family:Roboto;color:black">The content of this email and any attachments are confidential and are intended solely for the person and/or company to whom they are addressed. The
information may also be legally privileged. No employee or agent is authorized to conclude any binding agreement on behalf of SERIAL with another party by email without express written confirmation. If you have received this email in error, any use, reproduction
or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by return E-mail and delete this message, its attachments and all copies from your system. Internet communications cannot
be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
</span></i><i><span style="font-size:8pt;font-family:Roboto;color:black">Thank you for your cooperation.<br>
</span></i><u></u><u></u></p>
</div>
</div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div>