The next version of Grooper - Grooper 2021 - will be entering beta soon! If you want to get a head start on some of our exciting new features, check out the article over Smart PDFs on the Grooper Wiki!
Best Practice: Default vs Calculated Value for Field
I have some calculated fields in my configuration that I calculate based on other field values etc.
In the configuration I can either set the value as default.

... or I can set it as a calculated value.

My question is what is the best practice for Grooper and is there any functional difference between the two.
Thanks,
In the configuration I can either set the value as default.

... or I can set it as a calculated value.

My question is what is the best practice for Grooper and is there any functional difference between the two.
Thanks,
Tagged:
0
Best Answer
-
dlittle Posts: 39 ✭✭✭
The Default Value Expression will execute during the Extraction Activity. The Calculate Expression will execute anytime referenced field values change. In addition, the Default Value Expression is only going to fire if the field does not have a value. So, if referenced field values can potentially change after Extraction, you'll want to use the Calculate Expression. If referenced field values are static, you can gain efficiency by using the Default Value Expression, because it will only fire once.6