raptus.workflownotification

by Raptus AG last modified Feb 16, 2011 02:09 AM

Pluggable system to provide a way to send custom notifications to predefined recipients on a workflow transition

Project Description

Introduction

raptus.workflownotification provides a pluggable way to send notifications to predefined recipients on a workflow transition.

To enable notifications an adapter is registered providing the INotificationEnabled interface is registered for the desired content type, where the transitions method returns a list of transitions on which notifications are to be sent.

To define default recipients for notifications an adapter is registered providing the INotificationRecipientProvider interface. Those may be named by the desired workflow name or by a combination of workflow name and transition name to allow different recipients by transition or workflow.

To define a template for a notification register an adapter providing the INotificationTemplateProvider interface, where the same naming convention as for the recipient provider applies.

The adapters for INotificationRecipientProvider are additiv, recipients are collected from all registered adapter in the given context. For INotificationTemplateProvider adapters the most precise adapter win:

  1. named adapter with name [workflow_name].[transition_name]
  2. named adapter with name [workflow_name]
  3. unnamed adapter

Changelog

1.0b1 - (2010-10-25)

  • plone 4 compatibility
  • replaced kss with plain jquery

0.3 - (2010-02-24)

  • Fixed KeyError in KSS view when using virtual hosting
  • Catch Exception when using wrong format in messages

0.2 - (Alpha Release)

  • Hide buttons and add loading indicator after clicking submit button

0.1 - (Alpha Release)

  • Initial release

Current Release

No stable release available yet.

All Releases

Version Released Description Compatibility Licenses Status
1.0b1 plone 4 compatibility and replaced kss with plain jquery More about this release…
Plone 4
Plone 3
GPL beta
0.3 Fixed KeyError in KSS view when using virtual hosting and Catch Exception when using wrong format in messages More about this release…
Plone 3
GPL alpha
0.2 Hide buttons and add loading indicator after clicking submit button More about this release…
Plone 3
GPL alpha
0.1 Initial release More about this release…
Plone 3
GPL alpha

Comments (0)