<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Shelly,<br>
<br>
you (and I as well) need the stack trace for the error you've
mentioned. Stack traces are written to the log if the logging is
at DEBUG or TRACE levels.<br>
So, set you debug level to TRACE for Workflow module, try again,
and post the log here.<br>
<br>
Best regards,<br>
Pavol <br>
<br>
On 8. 10. 2014 17:37, Shelly Piplani wrote:<br>
</div>
<blockquote cite="mid:1412782679755.62931@ilantus.com" type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
<p>Hi ,</p>
<p><br>
</p>
<p>I am trying to create approval workflow. Ihave created a
manager for an Organisation Unit and created a role called
SensitiveRole3 as given in the following link:</p>
<p><br>
</p>
<p><a moz-do-not-send="true" id="lnk326088"
href="https://github.com/Evolveum/midpoint/blob/master/samples/roles/sensitive-role-3.xml">https://github.com/Evolveum/midpoint/blob/master/samples/roles/sensitive-role-3.xml</a></p>
<div style="margin-top: 20px; margin-bottom: 20px;"
id="LPBorder_GT_14127821207310.9406176249366788">
<table style="border-top: 1px solid rgb(204, 204, 204);
border-bottom: 1px solid rgb(204, 204, 204); width: 80%;
background-color: rgb(255, 255, 255); position: relative;"
id="LPContainer_14127821207290.48088424020295717">
<tbody>
<tr valign="top">
<td style="width: 140px; position: relative; display:
table-cell;">
<div style="margin-top: 12px; background-color: rgb(255,
255, 255); height: auto; width: 140px; position:
relative; display: table;"
id="LPImageContainer_14127821207310.8193391653218552">
<a moz-do-not-send="true" target="_blank"
href="https://github.com/Evolveum/midpoint/blob/master/samples/roles/sensitive-role-3.xml"
style="display: table-cell; text-align: center;"
id="LPImageAnchor_14127821207300.6010354103966764"><img
moz-do-not-send="true" aria-label="Preview image
with link selected. Double-tap to open the link."
style="display: inline-block; margin-left: auto;
margin-right: auto; max-width: 140px; max-height:
140px; height: 140px; width: 140px; border-width:
0px;"
src="https://avatars3.githubusercontent.com/u/6286905?v=2&s=400"
height="140" width="140"></a></div>
</td>
<td>
<div style="top: 0px; margin-top: 8px; font-size: 21px;
font-family: "Segoe UI
Semilight","Segoe WP
Semilight","Segoe UI WPC
Semilight","Segoe UI","Segoe
WP",Tahoma,Arial,sans-serif; color: rgb(51, 51,
51); margin-left: 14px; margin-right: 14px;"
id="LPTitle_14127821207310.6602242669053672">
midpoint/sensitive-role-3.xml at master ·
Evolveum/midpoint · GitHub</div>
<div style="margin-top: 8px; font-size: 13px;
font-family: "Segoe UI","Segoe
WP","Segoe UI
WPC",Tahoma,Arial,sans-serif; color: rgb(102,
102, 102); margin-left: 14px; margin-right: 14px;"
id="LPDescription_14127821207310.40828855970468614">
midpoint - MidPoint Identity Manager</div>
<div style="margin: 8px 14px 10px; height: 18px;
text-overflow: ellipsis; overflow: hidden;
white-space: nowrap;"
id="LPUrlContainer_14127821207310.33754568390969064">
<a moz-do-not-send="true" target="_blank"
href="https://github.com/Evolveum/midpoint/blob/master/samples/roles/sensitive-role-3.xml"
style="font-size: 11px; font-family: "Segoe
UI","Segoe WP","Segoe UI
WPC",Tahoma,Arial,sans-serif; text-decoration:
none;"
id="LPUrlAnchor_14127821207310.7981265876530501">Read
more...</a></div>
</td>
</tr>
</tbody>
</table>
</div>
<p><br>
</p>
<p> However, I have removed the following from the role:</p>
<p><br>
</p>
<table class="highlight tab-size-8 js-file-line-container">
<tbody>
<tr>
<td id="LC31" class="blob-code js-file-line"><span
class="nt"><automaticallyApproved></span></td>
</tr>
<tr>
<td id="LC32" class="blob-code js-file-line"><span
class="nt"><description></span>If the user works
in F0006 (Scumm Bar), the assignment of this role is
automatically approved for him.<span class="nt"></description></span></td>
</tr>
<tr>
<td id="LC33" class="blob-code js-file-line"><span
class="nt"><script></span></td>
</tr>
<tr>
<td id="LC34" class="blob-code js-file-line"><span
class="nt"><code></span>midpoint.isMemberOf(user,
midpoint.getOrgByName("F0006").getOid())<span class="nt"></code></span></td>
</tr>
<tr>
<td id="LC35" class="blob-code js-file-line"><span
class="nt"></script></span></td>
</tr>
<tr>
<td id="LC36" class="blob-code js-file-line"><span
class="nt"></automaticallyApproved><br>
<br>
<br>
After assigning that Organisation unit to the user, I am
trying to assign SensitiveRole3 to this user.<br>
I am getting the following error in idm logs:<br>
<br>
<br>
</span><span class="nt">2014-10-08 20:53:21,861 [MODEL]
[http-8008-5] ERROR
(com.evolveum.midpoint.wf.impl.jobs.JobController):
Couldn't send a request to start a process instance to
workflow management system, reason: Couldn't evaluate
approvers expressions<br>
2014-10-08 20:53:21,910 [MODEL] [http-8008-5] ERROR
(com.evolveum.midpoint.wf.impl.processors.primary.PrimaryChangeProcessor):
Workflow process(es) could not be started, reason:
Workflow process instance creation could not be
requested.<br>
<br>
Please provide your inputs on this.<br>
<br>
Regards,<br>
Shelly<br>
<br>
<br>
</span></td>
</tr>
</tbody>
</table>
<p><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>