Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.notification.document.routing.NotificationContrib--notifications

This contribution is part of XML component org.nuxeo.ecm.platform.notification.document.routing.NotificationContrib inside nuxeo-platform-document-routing-core-5.6.jar

Extension point

Extension point notifications of component NotificationService.

Contributed items

  • <notification enabled="false" name="Task assigned">
          <event name="workflowTaskAssigned"/>
        </notification>
  • <notification autoSubscribed="true" availableIn="Workspace" channel="email" enabled="true" label="label.nuxeo.notifications.appReviewStarted" name="Task assigned" subject="Task Assigned for ${docTitle}" template="workflowTaskAssigned" templateExpr="NotificationContext['taskInstance'].getVariable('taskNotificationTemplate')">
          <event name="workflowTaskAssigned"/>
        </notification>

XML source

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

    <notification enabled="false" name="Task assigned">
      <event name="workflowTaskAssigned"/>
    </notification>
    <notification autoSubscribed="true" availableIn="Workspace" channel="email" enabled="true" label="label.nuxeo.notifications.appReviewStarted" name="Task assigned" subject="Task Assigned for ${docTitle}" template="workflowTaskAssigned" templateExpr="NotificationContext['taskInstance'].getVariable('taskNotificationTemplate')">
      <event name="workflowTaskAssigned"/>
    </notification>

  </extension>