[midPoint] Workflow notifications
Doler, Alexander Earl (LATCO - Buenos Aires)
adoler at deloitte.com
Fri Apr 7 16:08:16 CEST 2017
Hi Oskar,
Thank you for your response and help.
I tried implementing this as follows:
<handler>
<simpleWorkflowNotifier>
<category>workItemEvent</category>
<operation>add</operation>
<recipientExpression>
<script>
<code>
assignee.getEmailAddress();
</code>
</script>
</recipientExpression>
<transport>mail</transport>
</simpleWorkflowNotifier>
</handler>
The mail notification is being sent properly to the first approver, who is directly assigned to the user as the manager, but the notifications still do not arrive to the subsequent approvers. If it makes a difference, the work items for these approvers arrive under the “Items claimable by me” tab, rather than “My items.”
Best,
Alex
From: midPoint [mailto:midpoint-bounces at lists.evolveum.com] On Behalf Of Oskar Butovic - AMI Praha a.s.
Sent: viernes, 7 de abril de 2017 10:32 a. m.
To: midPoint General Discussion <midpoint at lists.evolveum.com>
Subject: Re: [midPoint] Workflow notifications
Hello Alexander,
you can use:
<category>workItemEvent</category>
<operation>add</operation>
It fires when new approval request is assigned to approver.
then get email as:
<recipientExpression>
<script>
<code>
requestee.getEmailAddress(); //email to user to which is role being assigned
</code>
</script>
</recipientExpression>
or assignee.getEmailAddress() //email to approver
Best Regards
Oskar Butovič
2017-04-07 15:20 GMT+02:00 Doler, Alexander Earl (LATCO - Buenos Aires) <adoler at deloitte.com<mailto:adoler at deloitte.com>>:
Hello,
I am configuring workflow notifications for role approval. Some roles have up to three approval stages when a user requests the role, first requiring approval by the user’s manager (stage 1), and then by members of different sub-organizations (stages 2 and 3). I am currently using a simpleWorkflowNotifier, configured as follows:
<handler>
<simpleWorkflowNotifier>
<category>workflowEvent</category>
<transport>mail</transport>
</simpleWorkflowNotifier>
</handler>
This notifies both the user to be assigned the role and the user’s manager, and it also notifies the requesting user that the entire approval process has been completed. However, it does not notify the members of the organizations that must provide subsequent approval. I need to configure this so that each member of an approver organization receives a mail notification regarding the work item requiring their approval.
Is this possible using the simpleWorkflowNotifier? Or will it be necessary to create a generalNotifier to handle this slightly more complex workflow notification? How might I go about this?
Thanks!
Regards,
Alex
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>
http://lists.evolveum.com/mailman/listinfo/midpoint
--
Oskar Butovič
solution architect
gsm: [+420] 774 480 101
e-mail: oskar.butovic at ami.cz<mailto:oskar.butovic at ami.cz>
AMI Praha a.s.
Pláničkova 11
162 00 Praha 6
tel.: [+420] 274 783 239
web: www.ami.cz<http://www.ami.cz/>
[Image removed by sender. AMI Praha a.s.]
[Image removed by sender. AMI Praha a.s.]<http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management>
Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.
jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170407/9e73d611/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170407/9e73d611/attachment.jpg>
More information about the midPoint
mailing list