Record Based Rules
Record change rules allows an App to change the value of a field based on changes happening to another field. E.g. In Tasks Manager, if the %Completed = 100 then change the value of Status to Completed.
You can go to Record Based Rules for a Database App by following the steps as below
You can go to Record Based Rules for a Database App by following the steps as below
- Select a Site
- Click App Name on site menu
- Click "App - Settings" from "More..." drop down menu located on top right corner of page
- Click "Record Based Rules" link in left hand menu
Add a new Rule
- Select a Site
- Click App Name on site menu
- Click "App - Settings" from "More..." drop down menu located on top right corner of page
- Click "Record Based Rules" link in left hand menu
- Click "New Rule" located on top right corner of page
- Provide Rule Name
- Check Condition: Specify whether all the conditions or one of the conditions should be met to execute the action
- Status: Specify whether the rule is active OR inactive by click On or Off respectively
- Conditions
Adding a New Condition- Click "New Condition" button located on top right corner of Conditions section
- Provide necessary details
Removing a Condition- Click delete icon
located next to condition
- Actions: Actions will be carried out of the conditions are satisfied
Adding a New Action- Click "New Action" button located on top right corner of Actions section
- Provide necessary details
Removing a Action- Click delete icon
located next to action
- Click "Save" button
Edit a Rule
- Select a Site
- Click App Name on site menu
- Click "App - Settings" from "More..." drop down menu located on top right corner of page
- Click "Record Based Rules" link in left hand menu
- Click "Edit" link located in "Modify" column
- Change all necessary details
- Click "Save" button
Deleting a Rule
- Select a Site
- Click App Name on site menu
- Click "App - Settings" from "More..." drop down menu located on top right corner of page
- Click "Record Based Rules" link in left hand menu
- Click delete icon
located in "Delete" column
- Click "Confirm" button in the confirmation box to remove the rule
[insert_php]
echo custom_database_side_menu("record-based-rules");
[/insert_php]