Make the Easy Email channel resolve a notification template with a Drupal-suggestion-style cascade, most specific first, over the instance tenant, the workflow, the notification type, and an optional suffix:
orchestra_{tenant}_{workflow}_{type}_{suffix} orchestra_{tenant}_{workflow}_{type} orchestra_{tenant}_{type}_{suffix} orchestra_{tenant}_{type} orchestra_{workflow}_{type}_{suffix} orchestra_{workflow}_{type} orchestra_{type}_{suffix} orchestra_{type} orchestra_generic
Empty dimensions are skipped and the first existing template wins. The tenant comes from the instance (getTenantId()), so per-tenant (e.g. per-domain) templates need no wiring; the suffix comes from an orchestra_notification_template_suffix process variable, carried in the notification event context. It replaces the previous fixed orchestra_{workflow}_{type} / orchestra_{type} / orchestra_generic chain and stays backward compatible.
Issue fork orchestra-3609385
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mably commentedImplemented in MR !304. Verified on a live site: a per-tenant template (orchestra__booking_confirmed) is selected when present and falls back to the default otherwise.
Comment #5
mably commented