How to configure time in DMN decision table?

Hello, I am working on my process. I created a dmn table and would like that in the output, today’s date gets calculated with the time put in the “zeitfenster” table (Then Table). Is it even possible to this with camunda? Thanks.

Hi @Salva,

Yes, it’s possible to do calculations based on the current time. In FEEL, you could use the function now() and add duration to it. For example, now() + duration("P1D").

As an alternative, you could move the calculation out of the decision table. The table just returns the duration and the calculation of the specific date is done in the calling process or a dependent (literal expression) decision.

Does this help you?

Best regards,
Philipp

1 Like

It works! Thank you :slight_smile: