BAL constructs
You use BAL constructs to build business rules.
- all of the following conditions are true
This construct groups together a series of conditions such that the combined statement evaluates to true only if all the listed conditions evaluate to true. - any of the following conditions is true
This construct groups conditions together such that the combined statement evaluates to true if one or more of the listed conditions evaluate to true. - called (variable)
This construct provides a name for a variable declared in a for each action statement. - definitions
This construct introduces the part of the rule where you define variables. - else
This construct introduces actions that are executed if the conditions of a rule are not satisfied. - for each (object) in (list)
This construct specifies the actions that must be performed for every element of a collection. - from (object)
This construct accesses data from objects that are related to known objects. - if
This construct introduces the part of the rule in which you define conditions. - in (list)
This construct accesses data from object collections that are related to known objects. - it is not true that (a condition)
This construct negates a condition statement. - none of the following conditions are true
This construct negates a group of conditions. - print (string)
This construct prints a string, phrase or rule name to the standard output. - set (variable) to (definition)
This construct defines a variable as an object, a collection, or a value. - set (variable) to (value)
This construct changes the value of a ruleset parameter or variable. - the name of this rule
This construct returns the name of the currently executed rule in the then part of a business rule. - the number of (objects)
This construct returns the number of objects in the current data set or in the specified collection. - then
This mandatory construct introduces the part of the rule that defines the actions that are executed if the if part of a rule is satisfied. - there are (number) (objects)
This construct tests whether there is a specific number of objects of a given type in the current data set or the specified collection. - there are at least (number) (objects)
This construct tests whether there is at least a number of objects of a given type in the current data set or the specified collection. - there are at most (number) (objects)
This construct tests whether there is no more than a specified number of objects of a given type in the current data set. - there are less than (number) (objects)
This construct tests whether there are fewer than a specified number of objects of a given type. - there are more than (number) (objects)
This construct tests whether there are more than a specified number of objects of a given type. - there is at least one (object)
This construct tests whether there is at least one object of a given type in the current data set. - there is at most one (object)
This construct tests whether there is at most one object of a given type in the current data set. - there is no (object)
This construct tests whether a data set contains no objects of the given type. - there is one (object)
This construct tests whether the current data set contains one and only one object of a given type. - where (test)
This construct matches objects against tests.
Parent topic: Business Action Language (BAL)
Related information: