[midPoint] Workflow notification sending duplicate emails

Pavol Mederly mederly at evolveum.com
Thu Mar 31 09:10:21 CEST 2022


Jussi,


have you read this? 
https://docs.evolveum.com/midpoint/reference/cases/workflow-3/workflow-notifications/ 



It may be slightly out of date but I hope it will answer your questions.


Best regards,

-- 
Pavol Mederly
Software developer
evolveum.com

On 31/03/2022 09:04, Jussi Jokela via midPoint wrote:
> Hi Richard,
>
> With the following configuration, the requester receives mail when the 
> workflow process has started and finished, but the assignee still 
> receives duplicate mails when the work item is started and also when 
> finished (four mails total).
> <notificationConfiguration>    <handler>         
> <simpleWorkflowNotifier>             <transport>mail</transport>         </simpleWorkflowNotifier>     
> </handler></notificationConfiguration>
>
> Seems like the requester receives the mail based on the workflow 
> process ("Workflow process has been started/finished"), and the 
> assignee based on the work item ("Work item has been 
> created/allocated/completed")?
>
> And we are using midPoint version 4.3.
>
>
> Best regards,
> Jussi Jokela
> ------------------------------------------------------------------------
> *From:* Richard Richter <virgo at evolveum.com>
> *Sent:* Wednesday, March 30, 2022 17:57
> *To:* midPoint General Discussion <midpoint at lists.evolveum.com>
> *Cc:* Jussi Jokela <jussi.jokela at fiarone.com>
> *Subject:* Re: [midPoint] Workflow notification sending duplicate emails
> Hi Jussi
>
> Please, send the relevant portion of the configuration and also state 
> the version of midPoint used.
>
> Thanks
>
> Richard Richter
> Software Developer
> Evolveum
>
> ------------------------------------------------------------------------
> *From: *"midPoint General Discussion" <midpoint at lists.evolveum.com>
> *To: *"midPoint General Discussion" <midpoint at lists.evolveum.com>
> *Cc: *"Jussi Jokela" <jussi.jokela at fiarone.com>
> *Sent: *Wednesday, March 30, 2022 2:12:09 PM
> *Subject: *[midPoint] Workflow notification sending duplicate emails
>
> Hi everyone,
>
> We want to implement automated emails when users request new role 
> assignments and I have used 
> https://docs.evolveum.com/midpoint/reference/misc/notifications/configuration/ 
> as an example.
>
> However, when sending requests, the approver receives two different 
> emails per request, titled "A new work item has been created" and 
> "Work item has been allocated to you". also, the requester/requestee 
> receives two emails when the request is approved/rejected, titled 
> "Work item has been completed".
>
> I have tried different status, category, operation etc. filters but 
> without result. Any tips?
>
>
> Ystävällisin terveisin / best regards,
>
>
> *Jussi Jokela*
> IAM Lead Developer
> mobile: +358 50 511 3306
> email: jussi.jokela at fiarone.com <mailto:jussi.jokela at fiarone.com>
>
>
> *Fiarone Oy*
> https://www.fiarone.com <https://www.fiarone.com/>
> Postikatu 2
> 20250 Turku
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
>
> _______________________________________________
> 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/20220331/8a3f31c0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-4vvulxqp.png
Type: image/png
Size: 15648 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220331/8a3f31c0/attachment-0001.png>


More information about the midPoint mailing list