Human Task Notification does not work if there is a newline in mail body

Solution Verified - Updated -

Issue

In human task notification, if newline is included in mail body (i.e. there are multiple lines in body configuration of Process Designer UI) , when trying to send notification, WARN with the message Incorrect syntax of deadline property like the following happens and the notification will not be 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:Human Task Notification : ${processInstanceId}|body:line1
line2]@[PT1M]

Environment

  • Red Hat Process Automation Manager
    • 7.10.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content