Skip to main content

Add a Database Rule

To add a database rule, go to the Home Page in the Database Module.

image.png

Click the three dot (…) icon to the right of the database you want to edit to open the context menu. Select “Rules” opening the Rules Tab that contains the Rules Table.

Before any rules are created, the Rules Table will show the fields rule name, conditions, actions and status with no entries.

image.png

Select the “New Rule” button opening the New Database Rule Modal.

image.png

Input a Rule Name, a required field.

Select a status from the dropdown menu: Active or Inactive. This is a required field.

Click the plus icon to the right of Conditions to add a condition to the rule, expanding the section for the input of the trigger, what must be true, and what happens if it is true.

image.png

Once the condition has been entered, select “Save” to return to the New Database Rule Modal.

image.png

The condition created will show in the modal.

As many conditions as desired can be entered, as well as none at all.

Click the plus sign to the right of the Actions to add an action to the rule, expanding the section to all for the configuration of the action to be taken when the conditions are met.

Once the rule as been entered, select “Save” to return to the New Database Rule Modal.

image.png

The action will show in the modal.

Select “Save”. A popup will confirm that the rule was saved. It will now show in the Rules Table.

image.png