Table Rules
Table Rules: A Guide to Creating and Managing Rules in Tadabase
In this article, we will walk you through the concept of Table Rules and how to create them. Table Rules allow you to automate actions in your Tadabase app based on certain conditions. They are a powerful tool to streamline your workflow and enhance the functionality of your app. So, let's get started!
What are Table Rules?
Table Rules are predefined conditions and actions that allow you to automate processes in your Tadabase app. With Table Rules, you can set up triggers that automatically perform specific actions when certain conditions are met. This can include actions like sending notifications, updating records, or even executing custom workflows.
Table Rules are based on a simple "If This, Then That" logic. You define the condition or set of conditions, and specify the action(s) to be performed when those conditions are met. By creating Table Rules, you can reduce manual effort, improve accuracy, and ensure consistent behavior in your app.
Creating a New Rule for a Project in Tadabase
To create a new Table Rule for a project in Tadabase, follow these simple steps:
Log in to your Tadabase account and navigate to the app where you want to create the rule. Once you are in the app, click on the Data Builder tab in the left sidebar.
2. Choose the Data Table where you want to create a Table Rule
Table Rules run on the Data Table level. This means that the rules are completely separate from the pages and components you build for your application.
3. Access the Rule Builder
Once you have selected a Data Table, click on the Rules tab in the table menu. This will open the Rule Builder interface.
4. Define the Trigger
In the Rule Builder, click Add New Rule to start creating a new rule. You will be presented with a set of options to define the trigger for your rule. The trigger is the condition that needs to be met for the rule to execute. You can choose from a variety of triggers such as:
- Record Created
- Record Edited
- Record Created or Edited
5. Specify the Action
Once you have defined the trigger, it's time to specify the action you want the rule to perform when the trigger condition is met.
6. Save and Activate the Rule
Once you have configured the rule to your satisfaction, click on the Save button to save the rule. By default, the rule will be in the "Active" state. To deactivate the rule, simply toggle the Active switch to disable it.
7. Create Additional Rules
Create additional rules by clicking on the Add New Rule button in the upper right hand corner.
That's it! You have successfully created a new rule for your project in Tadabase. The rule will now automatically execute the specified action whenever the trigger condition is met.
We'd love to hear your feedback.