Fixed Definition 
Fixed definitions are primarily used to navigate entity relationships among objects and declare values that can be used in many rules. The value of fixed definition cannot be changed, hence Assign action cannot be used on a fixed definition.
You can create fixed definitions on primitive data types and Java objects in the rules composer.
For example, while processing an insurance policy, a definition can be declared a constant value as follows:
Name |
Type |
Value |
|---|---|---|
UpperLimit |
int |
100000 |
This fixed definition can be used in a condition in an if-then rule as follows:
If |
|
InsurancePolicy.getAmount < UpperLimit |
|
Then |
|
... |