function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Steve PeckSteve Peck 

Difficulty with Flow design for field updates to 3rd level related object

Hello everyone,

I'm challenged by this Flow which needs to update Contact records from child records of another record which triggered the Flow. If this were ony Parent-child, no problem. But the 3rd level record of a differnet record type is causing me some grief trying to figure a way to do it. Basicllay I'm running into an variable incompatibiliy problem (which I totally understand) but I can't think or a workaround to achieve what I need.

I've tried all sorts of methods to try and avoid the SOQL limit, including 2 loops (to only loop  through say 90 records/loop) using counters & updates in both...but this still gives an SOQL error, so I have to do the updates outside the loop I realise.

Another set of eyes would be very welcome.

I hope the attached flow diagram helps illustrate what I'm trying to achieve.Flow diagram
Would really appreciate any tips and ideas to try. I've spent hours and hours and on this and I've learnt so much.

Thanks.

Steve