I'm missing something with the Flow I'm building...but I'm fairly sure I'm close. Would appreciate any input please.

  1. I have a loop running to pull in my related records [working fine]
  2. I am storing the ID & one field called merge1 (for modification) from each record. I need to store this in the record collection variable {!ContactCollection}
  3. I need to assign a new value to that one field and I need to do this in the loop and do the update outside the loop to avoid SOQL limit.
  4. I add the Assign element but when I choose the collection variable, it does not allow me to select the field that I want to modify (as it does with a record variable).

I'm missing something here or doing something incorrectly.

Any guidance would be appreciated.


SteveRecord Collection Variable fields

Assignment element: choosing the Collection variable...but can't select the field I want to update My Flow so far


When you loop over your collection, the current record is represented by the loop variable.

So you do a get records to get all your contacts into a record collection variable.

Then you loop over the record collection variable, doing your transformation on the loop variable.

I think that will do the trick.

  • I'll give that a go Gorav and report back to you. Thanks so much for taking the time to provide a response. – steve17admin Jul 16 '19 at 22:03
  • 1
    Hey Gorav. I finally found the crucial bit I was missing. Adding the loop variable to the collection variable (just was not aware of the ADD function!). I found a useful video online that gave me another hint at what I'd not set up. youtube.com/watch?v=o-T_KUb-JI8 Thank you once again though. – steve17admin Jul 22 '19 at 1:20

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.