Skip to main content

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.1 - Unreleased

  • Initial release

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.1.tar.gz (16.0 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for raptus.workflownotification-0.1.tar.gz
Algorithm Hash digest
SHA256 e321e057a2ddee0ca9344b0657f00554d591feb9c3640edfe6ef9eee4aebca20
MD5 15b9c6e129ebe1a6b06f5b421f9b9ea7
BLAKE2b-256 bdd2186632c7883ada3803b52ce289296e6f506bbaa2381e282be6feb878abb5

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3

1 file

0.2

1 file

This release

0.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page