Users never get email notification when a worflow task is rejected (5.6)

Hi,

In a serial workflow, users never get a notification email when a document is rejected, or when the workflow is aborted…

The only thing that works fine is a correct notification for event “workflowTaskAssigned”, … but no notification email for other events.

I tried to configure the notifications extension point for org.nuxeo.ecm.platform.ec.notification.service.NotificationService (details below) but I can't get any email.. Any help will be appreciated. Thanks.

Patrice


my_site-notification-config.xml :

<require>org.nuxeo.ecm.platform.notification.service.NotificationContrib</require>
<require>org.nuxeo.ecm.platform.comment.service.notification</require>
<require>org.nuxeo.ecm.platform.comment.workflow.notification.service.NotificationContrib</require>
<require>org.nuxeo.ecm.platform.notification.document.routing.NotificationContrib</require>
<require>org.nuxeo.ecm.social.workspace.notifications</require>
   ...
   ...

<extension point="notifications" target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService">
  ...
  ...

<!-- First disabling notifications to avoid twiced emails -->
<notification name="Workflow Change" enabled="false">
      <event name="workflowNewProcessStarted"/>
      <event name="workflowProcessEnded"/>
      <event name="workflowProcessCanceled"/>
      <event name="workflowAbandoned"/>
      <event name="workflowTaskCompleted"/>
      <event name="workflowTaskRejected"/>
      <event name="workflowTaskAssigned"/>
</notification>          
  ...
  ...

<!-- Then redefining notifications.
Changing autoSubscribed="false" to autoSubscribed="true"
for  <notification name="Workflow Change" ..../>  -->

<notification name="Workflow Change"
     enabled="true" availableIn="Workspace" autoSubscribed="true"
     subject="Évènement sur un Workflow"
     template="my_mail_workflow"
     label="label.nuxeo.notifications.workflow" channel="email">
     <event name="workflowNewProcessStarted"/>
     <event name="workflowProcessEnded"/>
     <event name="workflowProcessCanceled"/>
     <event name="workflowAbandoned"/>
     <event name="workflowTaskCompleted"/>
     <event name="workflowTaskRejected"/>
     <event name="workflowTaskAssigned"/>
</notification>
0 votes

0 answers

2377 views

ANSWER