0

I have a Flow which loops through a collection of custom Objects. In each iteration it gets an exchange rate from custom metadata. I then need to multiply a number in each custom object with the exchange rate. I am trying to use a formula to do this but it is returning a null value each time. Can Flow Formulas be used with Flow Loops?

  • You can use formula's in loops, and they should update automatically with the value of the loop variable. One thing that could be you problem is that a formula returns null when the value the formula returns doesn’t match its data type. – Kasper Jul 5 '19 at 22:36
0

Yes, but you need to use an Assignment step within the look to update the formula before updating the field in the record.

| improve this answer | |
0

It turns out that I hadn't included one of the fields used in the formula in the Get Records element. I thought I had checked everything. Now I feel stupid.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.