SAP Knowledge Base Article - Public

3242809 - Dynamic conditions in decisions with literal expressions and variables

Symptom

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



Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Resolution

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



Keywords

KBA , BPI-SIG-PM-MOD-EDT , Graphical Editor for SAP Signavio Process Manager , How To

Product

SAP Signavio Process Manager all versions ; Signavio Process Manager all versions