[midPoint] globalPolicyRule RoleType approver notifications

Pavol Mederly mederly at evolveum.com
Fri Apr 8 14:43:31 CEST 2022


Alonso,

it's most probably normal behavior:

There are no "work item allocated" events, because no allocation took 
place - yet.

Regards,

-- 
Pavol Mederly
Software developer
evolveum.com

On 08/04/2022 14:21, Ezequiel Alonso via midPoint wrote:
> Hi guys,
>
> We have tried a globalPolicyRule with an approval step containing an 
> approver of type RoleType, and the default simpleWorkflowNotifier:
>
> <stage>
>   <number>1</number>
>   <name>Approval step 1</name>
>   <approverRef relation="org:default" type="c:RoleType">
>     <filter>
>       <q:equal>
>         <q:path>name</q:path>
>         <q:value>Approvers</q:value>
>       </q:equal>
>     </filter>
>     <resolutionTime>run</resolutionTime>
>   </approverRef>
> <evaluationStrategy>allMustApprove</evaluationStrategy>
> <outcomeIfNoApprovers>reject</outcomeIfNoApprovers>
> <groupExpansion>byClaimingWorkItem</groupExpansion>
> </stage>
>
> <notificationConfiguration>
>     <handler>
>         <simpleWorkflowNotifier>
>             <transport>mail</transport>
>         </simpleWorkflowNotifier>
>     </handler>
>     ...
> </notificationConfiguration>
>
> 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?
>
> 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.
>
> Thank you in advance.
>
> -- 
> *Ezequiel Alonso*
> Identicum S.A.
> Costa Rica 5546, Buenos Aires, Argentina 
> <https://goo.gl/maps/CD9awkNypjqr7iCt5>
> www.identicum.com <https://www.identicum.com/>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220408/23557f99/attachment.htm>


More information about the midPoint mailing list