Question

How can I configure e-mail notifications for a participant step in a workflow?

Answer

  1. Configure Mail Service (com.day.cq.mailer.DefaultMailService). The preferred way to store configurations for OSGi services in CQ is as nodes of type sling:OsgiConfig in JCR repository (see this article). But you can also configure the Mail Service in the Felix Console. The SMTP host, port, user and password are required, as well as "From" address.
  2. Make sure CQ Workflow EMail Notification Service (com.day.cq.workflow.impl.email.EMailNotificationService) is configured.
  3. Set Email notification property of the Participant Step to true.
  4. The e-mail template can be configured under /etc/workflow/notification/email/default. The default template is en.txt. But other languages can be supported by creating <language>.txt file under the same path.

עבודה זו בוצעה ברישיון של Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  הודעות המתפרסמות ב- Twitter™‎ ו- Facebook אינן מכוסות בתנאי Creative Commons.

הצהרות משפטיות   |   מדיניות פרטיות מקוונת