<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Adra,<br>
<br>
Fist of all I need to clarify the question a bit. Are you trying
to specify a groups of approvers for a role?<br>
<br>
If this is the case then you should use Org to group approvers,
not a role. Roles are used for provisioning and they cannot be
used for grouping users. Orgs are used for user grouping. So use
org instead. The org OID can be used instead of user OID in the
approverRef property.<br>
<br>
I see that the "Role vs Org" issue is not obvious. Therefor I've
just explained it here:
<a class="moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/Roles+and+Orgs">https://wiki.evolveum.com/display/midPoint/Roles+and+Orgs</a><br>
<br>
<pre class="moz-signature" cols="72">--
Radovan Semancik
Software Architect
evolveum.com
</pre>
<br>
<br>
<br>
On 07/16/2014 01:02 PM, Arda Nural wrote:<br>
</div>
<blockquote cite="mid:000001cfa0e5$713caaf0$53b600d0$@biznet.com.tr"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
<div class="WordSection1">
<p class="MsoNormal">Greetings all,<o:p></o:p></p>
<p class="MsoNormal">Can we use a role in role approval
workflow process? In the examples and wiki, I only noticed
that the approvers are UserType objects. I tried the example
below and the result was: a workflow process was created but
the work item didn’t show up on users work items who has the
approver role. <o:p></o:p></p>
<p class="MsoNormal">Thank you in advance.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Arda <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><role
oid="12345678-d34d-b33f-f00d-000187987989"<o:p></o:p></p>
<p class="MsoNormal">
xmlns=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">"http://midpoint.evolveum.com/xml/ns/public/common/common-3"</a><o:p></o:p></p>
<p class="MsoNormal">
xmlns:c=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">"http://midpoint.evolveum.com/xml/ns/public/common/common-3"</a>><o:p></o:p></p>
<p class="MsoNormal"> <name>Role approved by
role</name><o:p></o:p></p>
<p class="MsoNormal">
<description>desc</description><o:p></o:p></p>
<p class="MsoNormal"> <approverRef
xmlns:c=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">"http://midpoint.evolveum.com/xml/ns/public/common/common-3"</a><o:p></o:p></p>
<p class="MsoNormal">
oid="00000000-0000-0000-0000-000000000004"<o:p></o:p></p>
<p class="MsoNormal"> type="c:RoleType"><o:p></o:p></p>
<p class="MsoNormal"> <description>Approval by the
administrator</description><o:p></o:p></p>
<p class="MsoNormal"> </approverRef><o:p></o:p></p>
<p class="MsoNormal"></role><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable"
style="margin-left:5.4pt;border-collapse:collapse" border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="width:77.75pt;padding:0in 5.4pt 0in 5.4pt"
valign="top" width="104">
<p class="MsoNormal"><o:p> </o:p></p>
</td>
<td style="width:233.85pt;padding:0in 5.4pt 0in 5.4pt"
valign="top" width="312">
<p class="MsoNormal"><o:p> </o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:TR"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>