Skip to main content

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raptus.workflownotification-0.3.tar.gz (16.8 kB view details)

Uploaded Source

File details

Details for the file raptus.workflownotification-0.3.tar.gz.

File metadata

File hashes

Hashes for raptus.workflownotification-0.3.tar.gz
Algorithm Hash digest
SHA256 a5ab054fd1bedee51876677887e97e6fd3107e76e570e30c26fb4adab4aa10c8
MD5 e86d83bd70e0ac968cdc64a185e31297
BLAKE2b-256 a90fce8b734ed9724fa93f70cc883c3f5489c827a5ceee533615064b54afe01b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page