It it possible to create a user defined function in a literal expression and call it from a decision table?


I am trying to create user defined literal expression. I was able to call the built in functions without any problem in decision tables. I need to create some complexe calculation which is beyond a simple FEEL expression. I have 3 questions:

  1. Is it possible to create a complexe function in as a literal expression?

  2. Can I call the function from a decision table? another literal expression?

3 ) If yes. What is the camunda version that supports these functionalities?

Thank you and best regards,

Welcome @m_fawaz. :wave:

Yes, this is possible. Here is an example DMN:

decision-literal-function-dmn.dmn (4.6 KB)

I recommend the latest Camunda version: 8.2

Does this help you?

Best regards,