Creating a new rule

Actions

Actions describe what effect a rule should have. The following actions are available in MYOC:

Info contains a text that informs the user about a certain combination of data described in the rules and stored in the database. ("green")
Warning contains a text that informs the user about a certain combination of data described in the rules and stored in the database. ("yellow")
Error A data entity cannot be stored in a database. The data entity must be corrected. ("red")

Selection of the master data table

The master data table is the table in which all important information is stored. Since the Rules Editor can access all tables, the table is very complex. The following tables are relevant for MYOC:

Online Campaign:

Variant:

Placement:

By clicking on the field "Master data table" the selection of MYDAS tables opens.

Notification

The Notification field contains the message that should appear on the UI if the requirements of the conditions (see 4.2.4) are met.

Conditions

The conditions define the terms for which a rule is to apply. In the example shown, a message should appear if the budget of a variant is less than 50 euros.

Field names

Select the field name to which the rule should be applied. From the drop down field, which is opened by clicking on the field.

Operators

By clicking on the "Operator" field, the selection list for the operators opens.

== Equal
!= Unequal
> Greater than
>= Greater than or equal
< Less than
<= Less than or equal
IN Includes
NOT IN Does not include
STARTS WITH Value starts with
ENDS WITH Value ends with
REGEX

Value

The value to be fulfilled in the condition is entered here. In the described case, the customer budget should not be less than 50 EURO.