logo

Are you need IT Support Engineer? Free Consultant

Creation of Value Range in Business Rule Framework…

  • By Sanjay
  • 09/05/2026
  • 4 Views


In Business Rule Framework plus (BRF+), a Value Range refers to an expression used to check if a specific value falls within a defined range or set of values. The outcome of a value range expression is always a Boolean (true or false), indicating whether the value meets the specified range condition.

Steps to create Value range in BRF+ .

Right click on application and followed with image attached. 

Manoharreddy478_8-1757421668516.Png

Provide name, short description and click on create and navigate to object.  

Manoharreddy478_9-1757421668518.Png

Create a data object of date and add in the condition and provide the condition if the input  date is equal to fixed date and result will be displayed in true or false .

Manoharreddy478_10-1757421668520.Png

Save and activate . Now click on start stimulation and in next screen click on continue. 

 

Manoharreddy478_11-1757421668521.Png

Select the date and click on execute . 

If the selected date is in range it will be true 

Manoharreddy478_12-1757421668521.Png

 Select the date and click on execute . 

If the selected date is not in the range it will be false 

Manoharreddy478_13-1757421668522.Png

Manoharreddy478_14-1757421668523.Png

Conclusion:

  • Flexibility in Definition:

    BRF+ offers the flexibility to define value ranges explicitly as reusable expressions or implicitly directly within other expressions like decision tables. The choice between explicit and implicit ranges depends on the need for reusability across different parts of a BRF+ application.

  • Boolean Result:

    Value range expressions in BRF+ always yield a Boolean result, returning true if the tested value lies within the defined range and false otherwise. This makes them suitable for use in conditions within decision tables, loops, or other expressions that require a true/false evaluation.

  • Support for Various Operators and Types:

    BRF+ value ranges support various comparison operators (e.g., equals, not equals, greater than, less than, between) and can be applied to different data types, including numeric values, text, and dates. This allows for comprehensive and precise rule modeling.

  • Enhancing Decision Logic:

    Value ranges are crucial for building robust decision logic in BRF+. They enable the creation of rules that categorize or process data based on specific thresholds, intervals, or sets of allowed values, thereby automating and streamlining business processes.

  • Impact on Performance and Maintainability:

    While implicit ranges offer quick implementation for ad-hoc conditions, explicit, reusable value range expressions contribute to better performance and maintainability in complex BRF+ applications by promoting consistency and reducing redundancy in rule definitions.

  • Limitations and Workarounds:

    There can be limitations, such as the number of entries in a single decision table cell when defining ranges or sets of values. Workarounds, like using patterns or grouping properties, may be necessary to overcome such limitations and effectively model complex business rules.

 



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *