<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Alonso,</p>
<p>it's most probably normal behavior:</p>
<p>There are no "work item allocated" events, because no allocation
took place - yet.</p>
<p>Regards,<br>
</p>
<pre class="moz-signature" cols="72">--
Pavol Mederly
Software developer
evolveum.com</pre>
<div class="moz-cite-prefix">On 08/04/2022 14:21, Ezequiel Alonso
via midPoint wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAORQm43jHEdnYcgu-tY2xmgNhtp_dgUu-on6_JZ_WbwVLbDUsQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi guys, <br>
<br>
We have tried a globalPolicyRule with an approval step
containing an approver of type RoleType, and the default
simpleWorkflowNotifier:<br>
<br>
<font face="monospace"><stage><br>
<number>1</number><br>
<name>Approval step 1</name><br>
<approverRef relation="org:default" type="c:RoleType"><br>
<filter><br>
<q:equal><br>
<q:path>name</q:path><br>
<q:value>Approvers</q:value><br>
</q:equal><br>
</filter><br>
<resolutionTime>run</resolutionTime><br>
</approverRef><br>
<evaluationStrategy>allMustApprove</evaluationStrategy><br>
<outcomeIfNoApprovers>reject</outcomeIfNoApprovers><br>
<groupExpansion>byClaimingWorkItem</groupExpansion><br>
</stage><br>
<br>
<notificationConfiguration><br>
<handler><br>
<simpleWorkflowNotifier><br>
<transport>mail</transport><br>
</simpleWorkflowNotifier><br>
</handler><br>
...<br>
</notificationConfiguration><br>
</font><br>
When we trigger the approval step, notifications are sent only
for workflow process events (workflow started/ended), but not
for workitem allocation events (e.g.: workitem created/work item
allocated to you). Is this the normal behavior or? Or the
members/role emailAddress should be notified?<br>
<br>
If we use a UserType approver, notifications are sent
successfully on workflow process events and on workitem
allocation events. Both UserType and RoleType objects have a
valid emailAddress.<br clear="all">
<div><br>
</div>
<div>Thank you in advance.</div>
<div><br>
</div>
-- <br>
<div dir="ltr" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><b>Ezequiel Alonso</b><br>
<span style="color:rgb(102,102,102)">Identicum
S.A.<br>
<a
href="https://goo.gl/maps/CD9awkNypjqr7iCt5"
target="_blank" moz-do-not-send="true">Costa
Rica 5546, Buenos Aires, Argentina</a><br>
<a href="https://www.identicum.com/"
target="_blank" moz-do-not-send="true">www.identicum.com</a></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-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="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
</body>
</html>