I have a Record-Triggered Flow on A object that needs to re-evaluate and update related B records.
The Challenge: Our managed package (Exponent Case Management) has a trigger that blocks any batch update of B records, giving us a FIELD_CUSTOM_VALIDATION_EXCEPTION. It will only allow B to be updated one at a time.
The Conflict: Salesforce best practice says to never put an Update Records element inside a loop. However, this seems to be the only way to update the records one by one to satisfy the package's rule, as we are not able to create new objects or platform events to solve this. On a rare occasion, we might need to update up to 10 placements at once, but usually it's far fewer.
My Question: Given that the number of records is very small, is this one of those rare situations where it's acceptable to go against best practice and place the Update Records element inside the loop? What are your thoughts or potential risks I might be overlooking?
Thanks for your insights!
#Flow #Loop Variable