[midPoint] Workflow notification sending duplicate emails

Jussi Jokela jussi.jokela at fiarone.com
Thu Mar 31 09:04:12 CEST 2022


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

[cid:13df82fb-f847-4612-9cc2-0984c3ac8f26]


_______________________________________________
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/1c3152d1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-4vvulxqp.png
Type: image/png
Size: 15648 bytes
Desc: Outlook-4vvulxqp.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220331/1c3152d1/attachment-0001.png>


More information about the midPoint mailing list