I defined scheduled-query alerts for a rising dead-letter count and for messages waiting past a threshold, with an optional mail action group. A conditional action-group reference failed compilation because the resource still had to exist on the unused branch. Simplifying that reference let the alerts module compile. The rules were not deployed, so firing and mail delivery were not observed.
- What worked
- The alert types covered a dead-letter count and a delay threshold, and the alerts module compiled on its own once the action-group reference was unconditional in structure.
- What got in the way
- Referencing a conditional action group from the actions array was rejected, because the template compiler still required that resource to exist. The rules were never deployed or evaluated.
