TIBCO EBX®
Rules Portfolio Add-on Documentation > User Guide
Navigation modeRules Portfolio Add-on Documentation > User Guide

Categories and types of rules

Managed rule categories

The add-on manages two rule categories:

Business rules

There are four types of 'Business rules':

/100000000000028E000001CD83BE7420.png

Automated rule

An automated rule can modify data. The output value is Boolean and depends on whether the rule executed successfully or failed. This type of rule executes when triggered by the creation, modification or deletion of a record.

If the automated rule raises an error:

Validation rule

A validation rule is an assertion without any impact on the system and outputs a Boolean value depending on whether execution succeeded or failed. This type of rule can execute upon record creation, deletion or modification using a trigger or constraint on a field.

When the validation rule is executed by a trigger and raises an error:

/Validation_Rule_1.png

When the validation rule executes via a constraint and raises an error, or warning:

/Depending_On_The_Constraint_Class_Configuration.png

Manual validation rule

A manual validation rule is an assertion without any impact on the system and outputs a Boolean value depending on whether execution succeeded or failed. This type of rule can be executed at the data set or table level.

Depending on the set level of execution, the standard validation service executes this type of rule in the following ways:

/Execution_At_The_Dataset_Level_1.png

/Manual_Validation_Rule_2.png

Any error and warning messages that are generated display in the standard validation report.

/In_The_Standard_Validation_Report.png

Table set rule

A table set rule can create, modify or delete data. Additionally, it can be an assertion without any impact on the data value. These rules return a Boolean value that indicates success or failure of rule logic execution.

You must execute table set rules manually using the 'Execute rules' service located in the 'Actions' menu of a data set, or table. Running the service at the data set level executes rules applied to all tables in the data set. When run at the table level, execution includes only rules applied to the current table. Note that if a rule is not designated as mandatory, you will have the option to include, or exclude it from this execution. The steps below briefly outline this process:

/Table_Set_Rule_1.png

/Table_Set_Rule_3.png

Permission rule

There are two types of permission rules:

These rules are called by the SchemaExtension class and the ServicePermission class. They are unknown at the trigger level.

/100000000000012D00000129CF21780D.png

Access permission rule

An 'Access permission rule' manages user permissions on a node, namely a data set, table or field. This type of rule determines whether or not the node is Hidden, Read-Only or Read-Write for a given user.

Action permission rule

An 'Action permission rule' manages service permissions. This type of rule controls whether or not the given service can be used in the current context.