Update my custom formulas to work with the 3.8.4 engine
Two elements should be changed to work with the latest version.
- If
xis an object, never usex.ToString(), use the functionGetString(x) - If a variable
vgis a VirtualGrid, don't usevg[row, col], usevg.Cell(row, col)orvg.ReadValue(row, col)
!!! These changes are mandatory for your formulas to compile. !!!
Milliman Mind team will automatically update your existing formulas to the new syntax, but be careful when writing new ones.
Of course, we are available by mail or through the built-in chat if you encounter any problem with this migration.
Second step: Update my project with the latest version of the formula
Custom formulas are stored at the project level, and after migration to v3.8.4, they will not run anymore even if they have been migrated through new syntax.
It is just because they need to be updated to the migrated version, with the new syntax. To do that, just follow this step by step:
Go to Formulas manager, on the left action bar. It should blink in orange.

Then click on the Update all formulas orange button.

Your formula will be updated to the latest version and then compile correcly.