Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-4089

email notification does not work if newline is included in mail body

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.13.0.GA
    • 7.10.0.GA, 7.11.1.GA
    • jBPM Core
    • None
    • False
    • False
    • ER1
    • +
    • Hide

      create Human Task and set Notifications and input mail body with multiple lines.
      ( see attached example bpmn)
      start process and wait until notification will be sent.

      Show
      create Human Task and set Notifications and input mail body with multiple lines. ( see attached example bpmn) start process and wait until notification will be sent.

      In human task notification, if newline is included (i.e. there are multiple lines in Stunner UI) in mail body, when trying to send notification, WARN like the following happens and the notification is not sent.

      17:10:35,746 WARN  [org.jbpm.services.task.impl.util.HumanTaskHandlerHelper] (default task-51) Incorrect syntax of deadline property [from:jbpmadmin|tousers:|togroups:|toemails:user@test.com|replyTo:|subject:Task Notification : ${processInstanceId}|body:line1
      line2]@[PT1M]
      

            ftirados Francisco Javier Tirado Sarti
            rhn-support-hmiura Hiroko Miura
            Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
            Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: