Enhancement #1465

"Email notification" task

Added by Blatti Yves 4 months ago. Updated 8 days ago.

Status:ClosedStart date:11/20/2018
Priority:NormalDue date:
Assignee:Blatti Yves% Done:

100%

Category:EXTRACT
Target version:4.5.1
Sponsor: Ergonomic impact:

New plugin in list

Functional impact:

Admin can now configure mail notification in a process


Description

Description

  • New processing plugin.
  • Title: "Notification email" / "Notification email"
  • Description: "Sends a customizable email notification." / "Envoie une notification email personnalisable."
  • Icon class: fa-envelope-o
  • Settings :
    • "Recipient emails, separated by semicolons", email (new type), required
    • "Subject of the message", text, mandatory
    • "Message content", textarea, required
  • Help tooltip:
    Le plugin de notification email permet d'envoyer un message à un ou plusieurs destinataires.
    
    Les emails des destinataires doivent être séparés par des points-virgules.
    
    L'objet et le contenu du message peuvent contenir des variables qui seront remplacées par les propriétés de la requête. Les propriétés dynamiques autorisées sont les suivantes :
    
        orderLabel
        orderGuid
        productGuid
        productLabel
        startDate
        organism
        client
    
    Exemple d'objet : "Nouvelle demande pour le produit {productLabel}, client {client}" 
    
    Exemple de contenu : "Le client {client} (organism) a commandé le produit {productLabel}
                          N° de commande : {orderLabel}
                          Date de traitement : {startDate}
                          Les données livrées ont été archivées vers : /home/data/extract/archive/{orderLabel}/{productLabel}" 
    
  • When an element arrives at this processing task, the system sends an email to each recipient (each an email, one recipient does not see the others).
  • The text of the object and message are those defined in the task settings.
  • The text of the object and message can contain variables that will be replaced (see archiving plugin).
  • The variables that can be used are:
    • orderLabel
    • orderGuid
    • productGuid
    • productLabel
    • startDate
    • organism
    • client
  • The list of recipients in the configuration requires that emails be separated by semicolons
  • When the task is executed, the recipient list is split by comma or semicolon (",",",";"), the emails are then cleaned by trim (spaces at the beginning and end, tabs, shopping cart returns...[\s])
  • The sending parameters come from the system configuration (sender, smtp conf, etc)

Models

Source (french) : https://projets.asitvd.ch/issues/18705

18705-email-notification.png (39.7 KB) Blatti Yves, 11/20/2018 04:31 PM

History

#1 Updated by Blatti Yves 12 days ago

  • Status changed from Request For Comments to Accepted

#2 Updated by Blatti Yves 8 days ago

  • Status changed from Accepted to Affected

#3 Updated by Blatti Yves 8 days ago

  • Assignee changed from Technical Committee to Blatti Yves

#4 Updated by Blatti Yves 8 days ago

  • Status changed from Affected to Resolved

#5 Updated by Blatti Yves 8 days ago

  • Status changed from Resolved to To merge

#6 Updated by Blatti Yves 8 days ago

  • % Done changed from 0 to 100

#7 Updated by Blatti Yves 8 days ago

  • Status changed from To merge to Closed

Also available in: Atom PDF