DMN 1.6b1 RTF Avatar
  1. OMG Issue

DMN16 — Returning null is not enough for reporting/handling errors

  • Key: DMN16-117
  • Status: closed  
  • Source: Camunda Services GmbH ( Mr. Falko Menge)
  • Summary:

    Abusing null as an error indicator is not enough for reporting/handling errors.
    In particular, it does not solve the need for users to:

    • know exactly what the root cause of an error was
    • control the reaction to errors

    The specification already mentions error reporting but is neither a strict requirement nor consequently used:

    When a built-in function encounters input that is outside its defined domain, the function SHOULD report or log diagnostic information if appropriate and SHALL return null.

  • Reported: DMN 1.5b1 — Tue, 30 Jan 2024 17:00 GMT
  • Disposition: Resolved — DMN 1.6b1
  • Disposition Summary:

    Add strict mode

    Improve de specification of error handling by adding two modes lenient and strict, with the lenient mode, the current one, the default one.

    The idea is to configure the execution engine with the error handling mode when the models are executed.

  • Updated: Mon, 16 Sep 2024 14:16 GMT