DMN 1.7b1 RTF Avatar
  1. OMG Issue

DMN17 — duration() function has two return types

  • Key: DMN17-72
  • Status: open  
  • Source: Goldman Sachs ( Dr. Octavian Patrascoiu)
  • Summary:

    Currently, the standard supports two semantic domains for durations: years and months duration and days and time duration. However, there is one single conversion function from string that covers both semantic domains (see Table 73: Semantics of conversion functions). This makes static analysis of model difficult or impossible (in case of dynamic parameters). In B-FEEL, duration() might return the wrong type because it has to pick one of the two.

  • Reported: DMN 1.6b1 — Mon, 27 Jan 2025 11:12 GMT
  • Updated: Tue, 10 Jun 2025 17:09 GMT
  • Attachments: