Adding Values in Architect - but fields are not visible in function creation

I’m trying to sum values from different text fields in Novulo Architect using the regular expression editor. The expression itself seems to work, but I don’t see the new fields or calculated values appearing

When I use the Expression Debugger, it will work with the correct result: text_field_a.tointeger().add(text_field_b.tointeger()).add(text_field_c.tointeger())

In architect I started with Add, because the function only returns a list instead of a direct sum.

Would it be better to use booleans for this type of calculation, so that the function only runs when a value has been entered?

And how can I add the new fields correctly?

@StephanRS, try to convert string to integer. Then you can convert them and sum:

1 Like