- edited description
Error: null value at right hand side operand in arithmetic sum operation.
Look attach. Without the condition, everything works ok. And with the condition we have error "Error: null value at right hand side operand in arithmetic sum operation." Field {10379} is not empty and has number type.
Comments (5)
-
reporter -
repo owner Hi @Bogatyrenko,
I think that the problem is caused by another post-function which is executed after the one you show in the screenshot. That pos-function should be using target field of current post-function at the right hand side of a sum. When you add a condition, the target field may be not set, an later the calculations based on it will fail, since it's not initialized.
Try removing the condition, and using any of the following formulas instead:
{10379} > 250 ? ({10379} - 250) * {10376} : 0
or
max(({10379} - 250) * {10376}, 0)
-
reporter @fcarmario The function is unique on the transition
Both conditions with a parse error.
-
repo owner Hi @Bogatyrenko,
You should keep parameter Conditional execution empty.
The 2 math expressions I have provided to you are intended to be used in parameter Formula (not in Conditional execution).
-
repo owner - changed status to resolved
I close the issue. Please, reopen it if you need to. Thanks.
- Log in to comment