EdgeVerve / feel

Expression Language for creating and executing business rules in decision table based on DMN 1.1 specification for conformance level 3
MIT License
93 stars 48 forks source link

Feature: indicate which rules were used to obtain results #21

Closed yanndebonnelmontreal closed 3 years ago

yanndebonnelmontreal commented 4 years ago

It could be useful in certain scenarios to be able to receive, when executing decisionTable.execute_decision_table, the rules that were applied to arrive to the result

deostroll commented 3 years ago

This is difficult and a known issue. Mainly because of a lot of promises being used. We added logs at critical nodes in our AST, but it turns out that these are quite verbose to follow. You have to get into the habit of debugging this code to understand what is happening.