<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">Hello,<br>
<br>
the MidpointFunctionsImpl.getManagersOidsExceptUser(...) method
takes all the parent org units of a user, and from each one it
select those user(s) who have a relation to it of type<br>
<br>
<i>
{<a class="moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/common/org-3">http://midpoint.evolveum.com/xml/ns/public/common/org-3</a>}manager</i><i><br>
</i><br>
Actually, the code is quite old and I've not tested it recently
whether it still works -- it is meant mainly as an example of how
to use Java functions to dynamically define workflow approvers.<br>
You can write anything you need in groovy (or in any other
supported scripting language). If you need to call Java code, you
can implement it e.g. in MidpointFunctionsImpl class and use it
from you workflows as indicated by that example. <br>
<br>
If you would need further help with this issue, just let me know.<br>
<br>
Best regards,<br>
Pavol<br>
<br>
On 19. 8. 2014 11:01, Sai Chandra wrote:<br>
</div>
<blockquote cite="mid:1408438932557.71908@ilantus.com" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
<p>Hi Team,<br>
</p>
<p><br>
</p>
<p>I would like to get some information regarding the
Approval Workflows that we have in the Midpoint.<br>
</p>
<p>Can some one suggest me how can we assign the app rover
dynamically.</p>
<p>I have followed the below link but was not able to
understand the code <span style="font-family: Consolas,
'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;
font-size: 14px; line-height: 20px; white-space: pre-wrap;
background-color: rgb(255, 255, 255);"><strong>midpoint.getManagersOidsExceptUser.</strong>From
where this data is being pulled,as we donot enter anywhere the
managerID's in the midpoint.</span><br>
</p>
<p><a moz-do-not-send="true"
href="https://wiki.evolveum.com/display/midPoint/Some+examples"
id="lnk874442">https://wiki.evolveum.com/display/midPoint/Some+examples</a><br>
</p>
<p><br>
</p>
<p>Thanks <br>
</p>
<p>Saichandra<br>
</p>
This message contains information that may be privileged or
confidential and is the property of ILANTUS Technologies. It is
intended only for the person to whom it is addressed. If you are
not the intended recipient, you are not authorized to read, print,
retain, copy, disseminate, distribute, or use this message or any
part thereof. If you receive this message in error, please notify
the sender immediately and delete all copies of this message.
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint-dev@lists.evolveum.com">midPoint-dev@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint-dev">http://lists.evolveum.com/mailman/listinfo/midpoint-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>