05-30-2012 11:11 AM
I can modify email notification in mail templates (translate in french), but i don't know where modify subject ... for example : [NUXEO]Document created
I also need to translate email notification in collab space : Member Activity of .......
Thank you
11-17-2020 12:33 PM
For workflow tasks I did it contributing this XML extension :
<extension
           target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService"
           point="notifications">
  <notification name="Task assigned" enabled="false" >
    <event name="workflowTaskAssigned"/>
  </notification>
  <notification name="Task assigned" channel="email" enabled="true" availableIn="Workspace"
                autoSubscribed="true" template="workflowTaskAssigned" templateExpr="NotificationContext['taskInstance'].getVariable('taskNotificationTemplate')" subject="Action requise pour ${docTitle}"
                label="label.nuxeo.notifications.appReviewStarted">
    <event name="workflowTaskAssigned"/>
  </notification>
  <notification name="Task reassigned" channel="email" enabled="true" availableIn="Workspace"
                autoSubscribed="true" template="workflowTaskAssigned" templateExpr="NotificationContext['taskInstance'].getVariable('taskNotificationTemplate')" subject="Action requise pour ${docTitle}"
                label="label.nuxeo.notifications.appReviewStarted">
    <event name="workflowTaskReassigned"/>
  </notification>
  <notification name="Task delegated" channel="email" enabled="true" availableIn="Workspace"
                autoSubscribed="true" template="workflowTaskDelegated"  subject="Tache deleguee pour ${docTitle}"
                label="label.nuxeo.notifications.appReviewStarted">
    <event name="workflowTaskDelegated"/>
  </notification>
</extension>
 
					
				
				
			
		
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.