Overview
We check to see if the send mail tick box is ticked on any address. If it is not and the “Has No Valid Address” check box is not ticked then the rule is invoked.
This recipe consists of two rules;
The constituent address has a “Send Mail to this Address” check box checked. This is applied to all addresses (the “This rule only applies to the preferred address” tick box is not ticked). The radio button “This rule should apply to all constituent address records” should also be selected. This will ensure that the rule will only be enforced if all addresses have the “send mail” flags unchecked.
1 | Create the rule: No address should have the send mail to this address flag |
| 2 | Add the criteria | |
3 | Add the rule Error if no address has the send mail flag and the no valid address flag is not set | |
4 | Add the previous rule as a dependency | |