A reusable expression is a piece of logic that is reused throughout the Blueriq model. We speak of a reusable expression to indicate that the purpose of it is to be reused, in Blueriq Encore this is shortened to expression. Reusable expressions are used when the specific logic element will be used more than once within the model or when it is only used once but the business engineer developing it deems it very likely that it will be used more than once in the future.
Whenever reusable expressions are used, one might also opt to use attributes. The value of the attribute in question is determined by an expression within that attribute (and therefore not reusable) but the attribute is reusable.
Shown below is the same piece of (simple) logic. The age (of an applicant) is determined using his or her date of birth.
One might argue in favor of using reusable expressions or attributes. Arguments to use one or the other are enumerated below.
|