I am new to DMN and trying to figure out how to process a complex list through a decision table. Below is a simple example. I have an array of sessions that I would like the decision table to produce a result for each session (list). I have tried to wire up the input node to the decision node, but that only returns null. The end result I am looking for is a list of results ["Overtime", "Regular Hours" ]. Thanks in advance for any direction you can provide.
Input:
{
"Session": [
{
"Start datetime": "2024-06-14T08:30:28.638Z",
"End datetime": "2024-06-14T18:30:28.638Z"
}
]
}
Decision Table:
(End datetime - Start datetime) > "PT8H" "Overtime"
(End datetime - Start datetime) < "PT8H" "Regular Hours"
Nathan Motter