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
ChubbyChubby 

Auto launched flow to update child records when parent updated

Hi All,

I have a requirement to update field on child records when a field on its aasociated parent gets updated. I want to achieve this using flows. I am new to flows so could not able to do. Can anyone please help me.

Thanks.
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

I trust you are doing very well.

Please refer to the below blogs which have step by step process to update child records based on related child records using flows, which might help you with the above issue.

http://succeedwithsalesforce.com/using-process-and-flows-to-update-parent-record-based-on-all-related-child-records/

https://seanbooksfdcdotcom.wordpress.com/2017/03/05/process-builder-flow-update-parent-status-based-on-child-statuses/


I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in future.

Thanks and Regards,
Khan Anas
walters954walters954
Check out this video (https://youtu.be/S15XLpjzz3I) that shows off how to conditionally update child records using flows.
https://youtu.be/S15XLpjzz3I

If this helped make sure to make it as the best answer.

 
Laura GilLaura Gil
Thanks walter954, this is not about updating child records but the Parent Account. To be more exact, the Activated Opportunity checkbox on Account. The requirement is not about suming, or agroupping something :), it is about updating a custom field on the Parent record (Account) when any of their Opportunity child records has a stage 'Open', meaning neither 'Closed/Won' nor 'Closed/Lost'.
And I don't know exactly how it goes in a flow. 
 
Laura GilLaura Gil
@walters954, I saw a video, probably you are the mentor 'Update Parent Record From Child Values", where you (if ou are the mentor) are using a combination of Process Builder and Flow, but what happens if an Opportunity Product gets deleted?. A Process Builder can not identify this. Is there any possibility to only use a flow for this?