BPM, Workflow, and Case

 View Only
  • 1.  Questions for enable task email notification in BAW

    Posted Mon August 30, 2021 11:34 PM

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


  • 2.  RE: Questions for enable task email notification in BAW
    Best Answer

    IBM Champion
    Posted Tue August 31, 2021 01:56 AM
    Edited by Eddie J Tue August 31, 2021 09:13 PM
    Hello,

    Interesting discussion, let me try to answer your queries - 

    1. BAW does not support this feature by default. But there are email integration toolkits available which can help meeting this kind of requirement.
    2. I think that part is very specific to Domino, rest will have changes only in 100Custom.xml.
    3. Again, there is no OOTB feature to customize the template but this can be at your own risk. Steps are - 

      1. Locate <BPM_HOME>/BPM/Lombardi/process-server/lib/procsrv_resources.jar
        Unzip it and locate externalmailnoprocess_LANGUAGE.html, externalmailprocess_LANGUAGE.html,          externalmailprocesslink_LANGUAGE.html
      2. Modify those as per the requirement, make the jar file with same name (the procsrv_resources.jar)
        Replace the file in server(s)
      3. 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
    ------------------------------



  • 3.  RE: Questions for enable task email notification in BAW

    Posted Tue August 31, 2021 03:09 AM
    Edited by Eddie J Tue August 31, 2021 04:07 AM

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



  • 4.  RE: Questions for enable task email notification in BAW

    IBM Champion
    Posted Tue August 31, 2021 08:19 AM
    Edited by Atanu Roy Tue August 31, 2021 08:21 AM
    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
    ------------------------------



  • 5.  RE: Questions for enable task email notification in BAW

    Posted Thu September 02, 2021 04:00 AM
    Hi Atanu, tks for sharing this approach.

    ------------------------------
    Eddie J
    ------------------------------



  • 6.  RE: Questions for enable task email notification in BAW

    IBM Champion
    Posted Thu September 02, 2021 04:04 AM
    I have open an RFE -https://dba.ideas.ibm.com/ideas/IWF-I-665
    Please vote of found useful.

    ------------------------------
    AtanuRoy
    Solution Architect
    Salient Process
    ------------------------------



  • 7.  RE: Questions for enable task email notification in BAW

    Posted Thu September 02, 2021 04:19 AM
    Sure, voted for this good idea.

    ------------------------------
    Eddie J
    ------------------------------



  • 8.  RE: Questions for enable task email notification in BAW

    Posted Thu September 02, 2021 01:41 PM
    Edited by Irfan Khairi Fri September 03, 2021 08:50 AM
    Hi,

    You might consider checking my email notification asset for BAW. I just uploaded to github, you find it below.

    https://github.com/kliscs/AdvancedEmailBAW

    ------------------------------
    Csaba Klis
    Automation Technical Seller, IBM EET

    ------------------------------