Skip to end of metadata
Go to start of metadata

Problem:

Is it possible to insert a condition like "= Today ()" into a row of a decision table?


Solution:

There is no possibility to use such a condition in a decision table. To archive this goal you have to use literal expressions instead of decision tables:

  1. Choose the element "Input data", name it somehow (e.g. "Enter Date") and set its attribute "Value Domain" to "Date"
  2. Link it with the first decision (name it e.g. "Date Difference"), where you use the following expression: DayDiff(Today(), 'Enter Date')
  3. Link the first decision with a second one where you can use the output of "Date Difference" for obtaining an output. If the "Date Difference" equals 0, then you are sure that the input date from "Enter Date" is today.



For more information on literal expressions please see https://docs.signavio.com/userguide/editor/en/modeling_and_notations/dmn/literal_expressions.html#using-literal-expressions-instead-of-decision-tables