31/01/2023 - Data Type constrained variables and new functions in the Business Rules

31/01/2023 - Data Type constrained variables and new functions in the Business Rules

In this release we introduce new type of variables for the business rules as well as several new functions available to use in the Business Rules functionality, enabling you to create more complex validations for your data models.

New types of functions available in the Business Rules:

  • Identifier - returns the identifier element associated with the given item

  • Unit - returns QName node with variable unit

  • contextPeriod - returns context date from the variable

  • createPeriod - returns new period node representing given duration

  • subtractDates - returns the period node with the difference between the 2 dates

  • addPeriods - returns the summed period

  • subtractPeriods - returns the period node with the difference between the 2 dates

  • addPeriodToDate - returns the date node delayed by the period value

  • subtractPeriodFromDate - returns the date node earlier by the period of time

Other notable improvements and bugfixes:

  • The system now prevents user from moving forward without specified dimension when adding domain to a table

  • Improved colouring of labels on focused fields and active indicators

  • Fixed the issue where the table view for translated content sometimes shown labels as blank

  • Fixed the issue when a variable cannot be deleted from a business rule

  • Improved the formula behind the count of evaluations supposedly generated by a business rule