Grooper 21.00.0082 is available as of 12-12-2023! Check the Downloads Discussion for the release notes and to get the latest version.
Grooper 23.00.0044 is available as of 06-20-2024! Check the Downloads Discussion for the release notes and to get the latest version.
Grooper 23.1.0024 is available as of 09-03-2024! Check the Downloads Discussion for the release notes and to get the latest version.
Best Practice: Default vs Calculated Value for Field
hjanum
Posts: 113 ✭✭
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