Only show transition related events from workflows in use

Created on 2 September 2025, about 1 month ago

Right now, we show email event options for every potential transition derived from order workflows whether those order workflows are being used or not. We should alter the deriver to only recognize transitions as defined by order workflows actually used on the site.

That said, this can create a scenario where an email is configured for a transition currently in use, then the workflow for an order type is changed, and that transition is no longer available. When such an email is loaded, the event select list should still include the old event option so the form can be saved without forcing the user to pick a different event, but we should show a warning message on the page explaining what happened, like:

This email was configured for an order workflow event transition that is no longer used. Select a different event to start sending it again.

πŸ“Œ Task
Status

Active

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States rszrama

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024