Platform Explorer / Nuxeo Platform 5.6

Component org.nuxeo.ecm.platform.notification.document.routing.NotificationContrib

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>

<component
  name="org.nuxeo.ecm.platform.notification.document.routing.NotificationContrib">

  <require>org.nuxeo.ecm.platform.notification.service.NotificationContrib</require>
  
  <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="Task Assigned for ${docTitle}"
      label="label.nuxeo.notifications.appReviewStarted">
      <event name="workflowTaskAssigned"/>
    </notification>

  </extension>

</component>

Documentation