Previously, our calculations on percent values weren’t always working as expected. We rolled out a partial fix last release. This release we’re rolling out the rest of the fix as a critical update. Why? We know that many of you have workarounds in place to make sure the flow calculates correctly. Because our change makes those workarounds unnecessary, here’s your chance to test how the current state of percent calculations works for your flows.
|When you...||The value...||Example|
|Pass a numerical value into an sObject variable’s percent field||Doesn’t change||100 remains 100. When you save this value to a new or existing record, the percent value is 100%.|
|Pass the value of one sObject variable’s percent field into the percent field of another sObject variable||Doesn’t change||100 remains 100. When you save this value to a new or existing record, the percent value is 100%.|
|Reference an sObject variable’s percent field into a formula1||Divides by 100||100 becomes 1. When you save this value to a new or existing record, the percent value is 1% .|
Test This Critical Update
- Identify the flows that deal with percent fields in sObject variables.
- Activate this critical update.
- In your flows, identify any workarounds that you added to control how percent values were being calculated and adjust them for the new behavior. The recommended workaround was to multiply the sObject percent field values by 100.
- Test each flow to make sure that the results with the critical update are correct.