Closed gorbunkov closed 2 years ago
QA notes: Prerequisites:
org.flowable.engine.delegate.TaskListener
org.flowable.engine.delegate.ExecutionListener
resources/notifications/notification-templates.json
with definition for the notifications, like
[
{
"name": "notification for user task",
"code": "defaultNotification",
"subjectTemplatePath": "notifications/default-subject-notification",
"bodyTemplatePath": "notifications/user-task-body-notification",
"channels": ["ui", "email"],
"contentType": "plain"
},
{
"name": "notification for service task",
"code": "anotherNotification",
"subjectTemplatePath": "notifications/default-subject-notification",
"bodyTemplatePath": "notifications/service-task-body-notification",
"channels": ["ui", "email"],
"contentType": "html"
}
]
Next cases should be checked:
User Notification add-on is not included in the project
User Notification add-on included in the project and property jmix.bpm.notification-sending-enabled=true
set in application.properties
file
Tested on Jmix version: 1.2.999-SNAPSHOT Jmix Studio plugin version: 1.2.2-213 IntelliJ version: IntelliJ IDEA 2021.3 (Community Edition)
Jmix Version: 1.2.2
Create any TaskListener in the project, e.g.:
Open the modeler Add a UserTask Add a task listener to the UserTask
After the task listener editor is closed, an NPE occurs: