NotifyGru requires the library-notifygru to send the notification.
This library provides "Notifiers" that correspond to each type of notification (mail, sms, ...)
The "notifiers" should be injected as beans in the context of the module to be used, examples :
<!-- NotificationStore Rest (with ApiManager access) : -->
<bean id="workflow-notifygru.lib-notifygru.apiManagerTransport"
class="fr.paris.lutece.plugins.librarynotifygru.rs.service.NotificationTransportApiManagerRest">
<property name="notificationEndPoint">
<value>${library-notifygru.NotificationStoreNotifierService.notificationEndPoint}</value>
</property>
<property name="apiManagerEndPoint">
<value>${library-notifygru.NotificationStoreNotifierService.apiManagerEndPoint}</value>
</property>
<property name="apiManagerCredentials">
<value>${library-notifygru.NotificationStoreNotifierService.apiManagerCredentials}</value>
</property>
</bean>
<bean id="workflow-notifygru.lib-notifygru.notificationStoreNotifierRestService"
class="fr.paris.lutece.plugins.librarynotifygru.services.NotificationStoreNotifierRestService">
<constructor-arg
ref="workflow-notifygru.lib-notifygru.apiManagerTransport" />
</bean>
<!-- Email : -->
<bean id="workflow-notifygru.lib-notifygru.emailNotifierService"
class="fr.paris.lutece.plugins.librarynotifygru.services.EmailNotifierService">
</bean>
<!-- BroadCast Email : -->
<bean id="workflow-notifygru.lib-notifygru.broadcastEmailNotifierService"
class="fr.paris.lutece.plugins.librarynotifygru.services.BroadcastEmailNotifierService">
</bean>
<!-- Mock : -->
<bean id="workflow-notifygru.lib-notifygru.MockNotifierService"
class="fr.paris.lutece.plugins.librarynotifygru.services.MockNotifierService">
</bean>
See example in the workflow-notifygru_context.xml file, or the library-notifygru repository for more details about this configuration.
Notify Gru can use extra information providers to include in the content of the notification.
Those providers are provided by the different type of workflow resources that can use this notification task ( forms, appointment, ...)
There are two types of resource provider :
Resources are treated as "demands", which contain information such as id, type, user reference, etc... and thus all notifications corresponding to the same resource will be attached to this "demand" entity.
NotifyGru configuration is done in two steps:
A first page with two fields:Then NotifyGru configuration is done on multiple tabs. To set up a tab you must activate it via the select input "Add a notification ...". (Only the available notifications types are proposed, regarding the type of injected Notifiers) For each tab you can use bookmarks resource provider to enrich dynamically the message or the subject.
Dashboard tab :