Appendix A: Variables

Before using any element other than the current element in a business rule, you will need to assign it a "variable" name. There are two types of variables: localvariables and BusinessRules.Variable.

When do you use a local variable and when do you use a BusinessRules.Variable? That depends on how you want to use it in a rule. See the next two sections for details.