You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "timwuthenow (via GitHub)" <gi...@apache.org> on 2024/02/26 21:23:51 UTC

Re: [I] Accumulator functions on FEEL are not compatible with lists of all types that work with the `+` operator. [incubator-kie-issues]

timwuthenow commented on issue #977:
URL: https://github.com/apache/incubator-kie-issues/issues/977#issuecomment-1965316143

   Thanks @tiagobento, just for context of why from a business point of view this matters from an execution point of view is the following scenario:
   I have a worker who I am tracking their total hours worked in a certain role, if they exceed a threshold, we need to know. So the accumulator would look at all of the duration times in the collection (e.g. Monday PT2H5M, Tuesday PT3H30M, etc) and be able to total those up. This is a very real and common situation within the engine and something that I would have thought would have been captured.
   
   The expected behavior of the above would be that its at least 5 hours and 35 minutes, but currently I think we return _null_ in the return (at least when checking with the Extended Services.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org