[midPoint] Workflow notifications

Oskar Butovič - AMI Praha a.s. oskar.butovic at ami.cz
Fri Apr 7 15:31:56 CEST 2017


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>:

> 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
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>


-- 

Oskar Butovič
solution architect

gsm: [+420] 774 480 101
e-mail: 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


[image: AMI Praha a.s.]

[image: 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/b6e27ddb/attachment.htm>


More information about the midPoint mailing list