Hello HUI,
Unfortunately, that is nowhere documented anywhere how the variables are getting passed to the template HTML, I also did not try that out but there is a risky process which you can try out -
1. Locate <BPM_HOME>/BPM/Lombardi/lib/ps.jar
2. Unzip it and locate com\lombardisoftware\server\emailnotification\EmailNotificationHandler.class
3. In that Java code, actual values are getting passed to the template HTML.
4. Do some R&D to see if you can get other process variables from there and pass to the template HTML.
------------------------------
AtanuRoy
Solution Architect
Salient Process
------------------------------
Original Message:
Sent: Tue August 31, 2021 03:08 AM
From: Eddie J
Subject: Questions for enable task email notification in BAW
Hi Atanu,
Tks for ur detail. Yes I find a way to make an extension based on built-in email integration by Java. Seems this is the only way to use authenticated SMTP.
Regarding the email template, I just check the email template in that jar. Is it possible to add more variables to the email template from process variables? Actually we intend to send email with dynamic content with BAW process variables. Tks!
@ATANU ROY
------------------------------
HUI JIN
Original Message:
Sent: Tue August 31, 2021 01:56 AM
From: Atanu Roy
Subject: Questions for enable task email notification in BAW
Hello,
Interesting discussion, let me try to answer your queries -
- BAW does not support this feature by default. But there are email integration toolkits available which can help meeting this kind of requirement.
- I think that part is very specific to Domino, rest will have changes only in 100Custom.xml.
- Again, there is no OOTB feature to customize the template but this can be at your own risk. Steps are -
-
- Locate <BPM_HOME>/BPM/Lombardi/process-server/lib/procsrv_resources.jar
Unzip it and locate externalmailnoprocess_LANGUAGE.html, externalmailprocess_LANGUAGE.html, externalmailprocesslink_LANGUAGE.html
- Modify those as per the requirement, make the jar file with same name (the procsrv_resources.jar)
Replace the file in server(s)
- During product upgrade, fix pack application take backup of the modified jar and replace when the upgrade, installation is done. Otherwise it may get replaced during upgrade or CF installation.
------------------------------
Atanu Roy
Solution Architect
Salient Process
Original Message:
Sent: Mon August 30, 2021 11:34 PM
From: HUI JIN
Subject: Questions for enable task email notification in BAW
Hi guys,
I may have a few questions for below instruction:
Enabling email for Process Portal notifications
1. Regarding the SMTP config in 100Custom.xml , does it support to set up a SMTP with credentials for SMTP which requires authentication?
<email merge="mergeChildren"> <!-- SMTP server that mail should be sent to --> <smtp-server merge="replace">smtp.example.com</smtp-server> <mail-template>
2. In section Before you begin, be aware of below content. Is it only required for IBM® Lotus Domino V9 server, or we need to set local SMTP server for any cases?
- The email facility (used for task notification, task assignment, and so on) must be configured to use a local SMTP server that is listening on the default port (
25) and does not require authentication. This local SMTP server can then be used to forward emails to any other external SMTP that requires authentication.
3. How to upload the email template to BAW? Is there a way to align the style with the BAW form?
Plz advise, tks in advance!
------------------------------
HUI JIN
------------------------------