When I create a new decision table a description field is added for each row. When I do not touch the description field it gets set as "_description": null in the graph json. When that graph is then loaded into a zen engine, the zen engine fails to create a decision.
//Execute
let decision: ZenDecision;
try {
decision = engine.createDecision(rule);
} catch (error) {
throw error; // This gets called when the decision table includes rule with "_description": null
}
Example decision table setup
Notes: Make sure not to enter any value in the description field so that it remains null
When I create a new decision table a description field is added for each row. When I do not touch the description field it gets set as
"_description": null
in the graph json. When that graph is then loaded into a zen engine, the zen engine fails to create a decision.Example decision table setup
Notes: Make sure not to enter any value in the description field so that it remains null