DecisionTables with collect
hit policy overwite outputs
#268
-
Hi, and thanks for all your hard work on this project! I wanted to bring up a potential bug that our team has run into around Decision Tables with the Given a decision model like the following: edge-ordering.json where If ![]() If ![]() This appears to be due to the overwriting strategy in From reading the earlier discussion, I'm guessing the current strategy would be to fix this in the JDM with a Function node to coalesce the array: /** @type {Handler} **/
export const handler = async (input) => {
return {"collected": input};
}; Can this be fixed in the engine instead? Alternatively, I can put up a PR updating the README with a note mentioning this and the recommended workaround. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
Hi, as this has been released I will move this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
That's great, thanks so much! |
Beta Was this translation helpful? Give feedback.
Hi, we are in process of releasing a new features that will solve your issue.
It will allow you to set output of nodes to some field or "path". Also it will allow us to do loops in certain nodes as well as passthrough data merge.