Rules

A new feature from Version 4 onwards are rules. Rules are simple TRUE/FALSE decisions based around a Notes Formula. It also includes an editor to help simplify the creation of Rules.


Creating a Rule

To create a new Rule, open the view Rule and click on the action New Rule

image-20251106-202509.png

A new Rule document will be created

image-20251106-202522.png

Form Field

Rule Name

This is the name of the rule, this will be used to reference the rule in signature selection, sub signatures and filter formulas.

Description

A field for describing the purpose of the rule.

Type

The type of rule, either a rule built with the Rule Builder or a Notes Formula.

Advanced Rule

In the advanced mode you can write a Notes Formula directly into the formula field. The formula must return @True or @False

image-20251106-202648.png

Simple Rule

A simple rule is built using the rule builder screen. These are a series of conditions joined by the AND/OR operators.
The example below will return @true if all the following conditions are met:

  1. Subject = TEST

  2. Email is internal

  3. Month is December

    1. Set the Subject = TEST

image-20251106-202752.png

Then click on the Add Condition Button. This will add the condition to the list.

image-20251106-202832.png

b. Add more conditions to the Rule.

image-20251106-202855.png

c. Set the THEN and ELSE clause.

On these tabs, you can set what is returned when the condition is met or not met.

You can return @TRUE/@FALSE or the result of another Rule. This allows you to chain rules together

image-20251106-202932.png

Testing Rules

To test a rule, you can click on the SEND TEST EMAIL action.

image-20251106-204420.png

This will evaluate all the lookups in the rule and display the formula before execution. it will also return the result of the execution.

image-20251106-204459.png

Where can I use a rule?

Signature Selection

You can use rules to apply a signature.

image-20251106-204702.png

Sub Signatures

Rules can be used in the selection of sub signatures

image-20251106-204728.png

Filter Formula

image-20251106-204802.png

@If((!rule name="ExampleChristmasRule"!);@true;@False)
The lookup (!rule!) returns the text @true or @false which can used in the filter formulas


Other Lookups

As above rules can be used in formula lookups to create conditional lookups.