Calculated expressions - prevent unnecessary runs after initial

04-01-2022 05:48 AM
New Contributor III

Not a big deal, but it seems as if the FM app recalculates all expressions every time another part of the form is updated. For short forms with a few data points to collect, this isn't really a huge deal, but seems like it could get a bit resource heavy when the it happens over the course of collecting several dozen other attributes after the initial calculation.

Does anyone know of a way to prevent subsequent runs of the expression after the initial run?

Was thinking about using  $originalfeature, but I can't figure out how that would help. It seems like the expression would still have to run 99% of the way through so it can compare the result with the original attribute, only to rewrite the original. At that point, it might as well just recalc the whole thing and we're back to square one. Is there anything I'm missing?

0 Replies